public class MetaDataItem
extends java.lang.Object
<dc:title>Example</dc:title>
<meta name="dc:title" value="Example"/>
| Modifier and Type | Class and Description |
|---|---|
static class |
MetaDataItem.Builder
Provides a meta data item builder.
|
| Constructor and Description |
|---|
MetaDataItem(javax.xml.namespace.QName key,
java.lang.String value)
Creates a new meta data item with the specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeItem |
getAttribute()
Gets the attribute, if specified or null
|
javax.xml.namespace.QName |
getKey()
Gets the element name
|
java.lang.String |
getValue()
Gets the text contents of this meta data item
|
public MetaDataItem(javax.xml.namespace.QName key,
java.lang.String value)
key - the element namevalue - the text contents of the elementpublic javax.xml.namespace.QName getKey()
public java.lang.String getValue()
public AttributeItem getAttribute()