public static class MetaDataItem.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder(javax.xml.namespace.QName elementKey,
java.lang.String elementValue)
Creates a new meta data item builder
|
| Modifier and Type | Method and Description |
|---|---|
MetaDataItem.Builder |
attribute(AttributeItem value)
Sets the item's attribute.
|
MetaDataItem |
build()
Creates a new meta data item based on the current
state of the builder.
|
public Builder(javax.xml.namespace.QName elementKey,
java.lang.String elementValue)
elementKey - the element nameelementValue - the element value, (in other words, its text contents)public MetaDataItem.Builder attribute(AttributeItem value)
value - the attributepublic MetaDataItem build()