|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetadataCreator
Shared interface for metadata creators. Extended by AttributeCreator
and ElementCreator
, this is used to create both elements and
attributes, which we refer to as properties.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |