public abstract class ParamsEntityExporter extends MetadataEntityExporter
Modifier | Constructor and Description |
---|---|
protected |
ParamsEntityExporter(MetadataExporter owner,
Class<? extends Entity> entityClass)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
export(Entity entity,
XMLElement element)
Exports an entity into the supplied element.
|
protected void |
export(Params params,
XMLElement element)
Exports Params into the supplied Element.
|
protected void |
registerReferences(Entity entity)
Registers the entity's references.
|
protected void |
registerReferences(Params params,
String elementName)
Registers parameter references to their definitions.
|
getElementName, getMetadata, setAnchored
export
addExporter, areDeferredSubstitutions, createElement, getConfig, getDocument, getEntity, getOwner, getReference, getRootElement, isWithAttributes, isWithAttributes, isWithTexts, isWithTexts, nextId, reference, registerReference
protected ParamsEntityExporter(@Nonnull MetadataExporter owner, @Nonnull Class<? extends Entity> entityClass)
owner
- The exporter owning this.entityClass
- The class of the entities exported by this.protected void export(Entity entity, XMLElement element)
export
in class MetadataEntityExporter
entity
- The entity to export.element
- The target element.protected final void export(@Nonnull Params params, @Nonnull XMLElement element)
params
- The Params to export.element
- The target Element.protected void registerReferences(Entity entity)
registerReferences
in class EntityExporter
entity
- The entity holding the references.protected final void registerReferences(@Nonnull Params params, @Nonnull String elementName)
params
- The parameters.elementName
- The name of the element holding the parameters.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.