public final class XmpPdfAExtensionValueType extends XmpPdfAExtensionObject
The PDF/A ValueType schema is required for all property value types which are not defined in the XMP 2004 specification, i.e. for value types outside of the following list: - Array types (these are container types which may contain one or more fields): Alt, Bag, Seq - Basic value types: Boolean, (open and closed) Choice, Date, Dimensions, Integer, Lang Alt, Locale, MIMEType, ProperName, Real, Text, Thumbnail, URI, URL, XPath - Media Management value types: AgentName, RenditionClass, ResourceEvent, ResourceRef, Version - Basic Job/Workflow value type: Job - EXIF schema value types: Flash, CFAPattern, DeviceSettings, GPSCoordinate, OECF/SFR, Rational Schema namespace URI: http://www.aiim.org/pdfa/ns/type# Required schema namespace prefix: pdfaType
Constructor and Description |
---|
XmpPdfAExtensionValueType(String type,
String namespaceUri,
String prefix,
String description)
Initializes new object.
|
Modifier and Type | Method and Description |
---|---|
void |
add(XmpPdfAExtensionField field)
Add new field.
|
void |
addRange(XmpPdfAExtensionField[] fields)
Adds the range of fields.
|
void |
clear()
Clears all fields.
|
com.aspose.ms.System.Collections.Generic.List<XmpPdfAExtensionField> |
getFields()
Gets the list of fields.
|
String |
getNamespaceUri()
Gets the namespace URI.
|
String |
getPrefix()
Gets the prefix.
|
String |
getType()
Gets the value type.
|
List |
getXml_(com.aspose.ms.System.Xml.XmlDocument xmlDocument)
Returns the list of xml elements that represent field in xml tree.
|
com.aspose.ms.System.Collections.Generic.List<com.aspose.ms.System.Xml.XmlElement> |
getXmlInternal(com.aspose.ms.System.Xml.XmlDocument xmlDocument)
Returns the list of xml elements that represent value type in xml tree.
|
void |
remove(XmpPdfAExtensionField field)
Removes the field from the list of fields.
|
getDescription, getValue, setValue
public String getType()
Gets the value type.
public String getNamespaceUri()
Gets the namespace URI.
public String getPrefix()
Gets the prefix.
public com.aspose.ms.System.Collections.Generic.List<XmpPdfAExtensionField> getFields()
Gets the list of fields.
public void add(XmpPdfAExtensionField field)
Add new field.
field
- The field to add.public void addRange(XmpPdfAExtensionField[] fields)
Adds the range of fields.
fields
- The fields to add.public void remove(XmpPdfAExtensionField field)
Removes the field from the list of fields.
field
- The field to remove.public void clear()
Clears all fields.
public com.aspose.ms.System.Collections.Generic.List<com.aspose.ms.System.Xml.XmlElement> getXmlInternal(com.aspose.ms.System.Xml.XmlDocument xmlDocument)
Returns the list of xml elements that represent value type in xml tree.
getXmlInternal
in class XmpPdfAExtensionObject
xmlDocument
- The source xml document.public List getXml_(com.aspose.ms.System.Xml.XmlDocument xmlDocument)
Returns the list of xml elements that represent field in xml tree.
getXml_
in class XmpPdfAExtensionObject
xmlDocument
- The source xml document.