public abstract class AbstractStructuredType extends AbstractComplexProperty
| Modifier and Type | Field and Description |
|---|---|
protected static String |
STRUCTURE_ARRAY_NAME |
| Constructor and Description |
|---|
AbstractStructuredType(XMPMetadata metadata) |
AbstractStructuredType(XMPMetadata metadata,
String namespaceURI) |
AbstractStructuredType(XMPMetadata metadata,
String namespaceURI,
String fieldPrefix,
String propertyName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSimpleProperty(String propertyName,
Object value) |
ArrayProperty |
createArrayProperty(String propertyName,
Cardinality type) |
TextType |
createTextType(String propertyName,
String value) |
protected Calendar |
getDatePropertyAsCalendar(String fieldName) |
String |
getNamespace()
Get the namespace URI of this entity
|
String |
getPreferedPrefix() |
String |
getPrefix()
Get the prefix of this entity
|
protected String |
getPropertyValueAsString(String fieldName) |
void |
setNamespace(String ns) |
void |
setPrefix(String pf) |
addNamespace, addProperty, getAllNamespacesWithPrefix, getAllProperties, getArrayProperty, getContainer, getFirstEquivalentProperty, getNamespacePrefix, getProperty, removePropertycontainsAttribute, getAllAttributes, getAttribute, getMetadata, getPropertyName, removeAttribute, setAttribute, setPropertyNameprotected static final String STRUCTURE_ARRAY_NAME
public AbstractStructuredType(XMPMetadata metadata)
public AbstractStructuredType(XMPMetadata metadata, String namespaceURI)
public AbstractStructuredType(XMPMetadata metadata, String namespaceURI, String fieldPrefix, String propertyName)
public final String getNamespace()
getNamespace in class AbstractFieldpublic final void setNamespace(String ns)
public final String getPrefix()
getPrefix in class AbstractFieldpublic final void setPrefix(String pf)
public final String getPreferedPrefix()
public ArrayProperty createArrayProperty(String propertyName, Cardinality type)
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.