public interface MetadataCreator
AttributeCreator
and ElementCreator, this is used to create both elements and
attributes, which we refer to as properties.| Modifier and Type | Method and Description |
|---|---|
MetadataCreator |
setName(QName name)
Sets the name of the property.
|
MetadataCreator |
setRequired(boolean required)
Sets the requiredness of this property.
|
MetadataCreator |
setVirtualValue(Metadata.VirtualValue virtualValue)
Sets the virtual value for the property.
|
MetadataCreator |
setVisible(boolean visible)
Sets whether this property is visible.
|
MetadataCreator setName(QName name)
MetadataKey.name - the new name to use for the property.MetadataCreator setRequired(boolean required)
required - true to set the property to required, false to set it
to optional (the default).MetadataCreator setVisible(boolean visible)
visible - true to make the property visible (the default), false to
hide it from the output.MetadataCreator setVirtualValue(Metadata.VirtualValue virtualValue)