public final class MetadataExporter extends ConfigExporter
SALT_ELEMENT, SALT_LENGTH
Modifier and Type | Method and Description |
---|---|
static XMLDocument |
export(Metadata metadata,
Optional<Set<String>> usages,
Optional<Set<String>> langs,
boolean secure)
Exports the metadata.
|
protected String |
getElementName()
Gets the XML element name.
|
getConfig, getRootElement, nextId
addExporter, areDeferredSubstitutions, createElement, getDocument, getEntity, getOwner, getReference, isWithAttributes, isWithAttributes, isWithTexts, isWithTexts, reference, registerReference
@Nonnull @CheckReturnValue public static XMLDocument export(@Nonnull Metadata metadata, @Nonnull Optional<Set<String>> usages, @Nonnull Optional<Set<String>> langs, boolean secure)
metadata
- The metadata.usages
- The optional attributes usages to include.langs
- The optional languages to include for information texts.secure
- True if the destination is secure.protected String getElementName()
getElementName
in class ConfigExporter
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.