Package com.helger.regrep.slot
Class SlotHelper
- java.lang.Object
-
- com.helger.regrep.slot.SlotHelper
-
@Immutable public final class SlotHelper extends Object
Helper class to simplify the creation of RegRep data constructs.- Author:
- Philip Helger
-
-
Method Summary
-
-
-
Method Detail
-
createLocalizedString
@Nonnull public static LocalizedStringType createLocalizedString(@Nonnull Locale aLocale, @Nonnull String sText)
-
createLocalizedString
@Nonnull public static LocalizedStringType createLocalizedString(@Nonnull @Nonempty String sLanguage, @Nonnull String sText)
-
createInternationalStringType
@Nonnull public static InternationalStringType createInternationalStringType(@Nullable Map<String,String> aMap)
-
createInternationalStringType
@Nonnull public static InternationalStringType createInternationalStringType(@Nullable com.helger.commons.text.IMultilingualText aMLT)
-
createInternationalStringType
@Nonnull public static InternationalStringType createInternationalStringType(@Nullable LocalizedStringType... aArray)
-
createMap
@Nonnull public static MapType createMap(@Nullable Map<? extends ValueType,? extends ValueType> aMap)
-
createVocabularyTerm
@Nonnull public static VocabularyTermType createVocabularyTerm(@Nonnull VocabularyTerm aTerm)
-
createVocabularyTerm
@Nonnull public static VocabularyTermType createVocabularyTerm(@Nonnull String sVocabulary, @Nonnull String sTerm)
-
createSlotValue
@Nonnull public static AnyValueType createSlotValue(@Nonnull Element x)
-
createSlotValue
@Nonnull public static BooleanValueType createSlotValue(boolean x)
-
createSlotValue
@Nonnull public static CollectionValueType createSlotValue(@Nullable ValueType... x)
-
createSlotValue
@Nonnull public static CollectionValueType createSlotValue(@Nullable ERegRepCollectionType eType, @Nullable ValueType... x)
-
createSlotValue
@Nonnull public static CollectionValueType createSlotValue(@Nullable ERegRepCollectionType eType, @Nullable Iterable<? extends ValueType> x)
-
createSlotValue
@Nonnull public static DateTimeValueType createSlotValue(@Nonnull OffsetDateTime x)
-
createSlotValue
@Nonnull public static DateTimeValueType createSlotValue(@Nonnull com.helger.commons.datetime.XMLOffsetDateTime x)
-
createSlotValue
@Nonnull public static FloatValueType createSlotValue(float x)
-
createSlotValue
@Nonnull public static IntegerValueType createSlotValue(@Nonnull BigInteger x)
-
createSlotValue
@Nonnull public static InternationalStringValueType createSlotValue(@Nonnull InternationalStringType x)
-
createSlotValue
@Nonnull public static MapValueType createSlotValue(@Nonnull MapType x)
-
createSlotValue
@Nonnull public static SlotValueType createSlotValue(@Nonnull SlotType x)
-
createSlotValue
@Nonnull public static StringValueType createSlotValue(@Nonnull String x)
-
createSlotValue
@Nonnull public static VocabularyTermValueType createSlotValue(@Nonnull VocabularyTermType x)
-
-