XMLizable, PropertyAccesspublic class XMPStructure extends XMPComplexValue implements PropertyAccess
| Constructor | Description |
|---|---|
XMPStructure() |
Main constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
XMPProperty |
getProperty(String uri,
String localName) |
Returns a property
|
XMPProperty |
getProperty(QName name) |
Returns a property.
|
int |
getPropertyCount() |
Returns the number of properties.
|
Object |
getSimpleValue() |
Returns a normal Java object representing the value if it is available.
|
XMPProperty |
getValueProperty() |
Returns the rdf:value property.
|
Iterator |
iterator() |
Returns an Iterator over all properties in this structured property.
|
XMPProperty |
removeProperty(QName name) |
Removes a property and returns it if it was found.
|
void |
setProperty(XMPProperty prop) |
Sets a property.
|
void |
toSAX(ContentHandler handler) |
Generates SAX events representing the object's state.
|
String |
toString() |
public Object getSimpleValue()
getSimpleValue in class XMPComplexValuepublic void setProperty(XMPProperty prop)
setProperty in interface PropertyAccessprop - the propertypublic XMPProperty getProperty(String uri, String localName)
getProperty in interface PropertyAccessuri - the namespace URI of the propertylocalName - the local name of the propertypublic XMPProperty getValueProperty()
getValueProperty in interface PropertyAccesspublic XMPProperty getProperty(QName name)
getProperty in interface PropertyAccessname - the name of the propertypublic XMPProperty removeProperty(QName name)
removeProperty in interface PropertyAccessname - the name of the propertypublic int getPropertyCount()
getPropertyCount in interface PropertyAccesspublic Iterator iterator()
iterator in interface PropertyAccesspublic void toSAX(ContentHandler handler) throws SAXException
toSAX in interface XMLizablehandler - ContentHandler instance to send the SAX events toSAXException - if there's a problem generating the SAX eventsCopyright © 2018 Apache Software Foundation. All rights reserved.