XmpPdfAExtensionValueType
Inheritance: java.lang.Object, com.aspose.pdf.XmpPdfAExtensionObject
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
Constructors
Constructor | Description |
---|---|
XmpPdfAExtensionValueType(String type, String namespaceUri, String prefix, String description) | Initializes new object. |
Methods
Method | Description |
---|---|
getType() | Gets the value type. |
getNamespaceUri() | Gets the namespace URI. |
getPrefix() | Gets the prefix. |
getFields() | Gets the list of fields. |
add(XmpPdfAExtensionField field) | Add new field. |
addRange(XmpPdfAExtensionField[] fields) | Adds the range of fields. |
remove(XmpPdfAExtensionField field) | Removes the field from the list of fields. |
clear() | Clears all fields. |
getXmlInternal(System.Xml.XmlDocument xmlDocument) | Returns the list of xml elements that represent value type in xml tree. |
getXml_(System.Xml.XmlDocument xmlDocument) | Returns the list of xml elements that represent field in xml tree. |
XmpPdfAExtensionValueType(String type, String namespaceUri, String prefix, String description)
public XmpPdfAExtensionValueType(String type, String namespaceUri, String prefix, String description)
Initializes new object.
Parameters:
Parameter | Type | Description |
---|---|---|
type | java.lang.String | The value type. |
namespaceUri | java.lang.String | The namespace URI. |
prefix | java.lang.String | The prefix. |
description | java.lang.String | The description. |
getType()
public String getType()
Gets the value type.
Returns: java.lang.String - String
getNamespaceUri()
public String getNamespaceUri()
Gets the namespace URI.
Returns: java.lang.String - String
getPrefix()
public String getPrefix()
Gets the prefix.
Returns: java.lang.String - String
getFields()
public System.Collections.Generic.List<XmpPdfAExtensionField> getFields()
Gets the list of fields.
Returns: com.aspose.ms.System.Collections.Generic.List<com.aspose.pdf.XmpPdfAExtensionField> - IList
add(XmpPdfAExtensionField field)
public void add(XmpPdfAExtensionField field)
Add new field.
Parameters:
Parameter | Type | Description |
---|---|---|
field | XmpPdfAExtensionField | The field to add. |
addRange(XmpPdfAExtensionField[] fields)
public void addRange(XmpPdfAExtensionField[] fields)
Adds the range of fields.
Parameters:
Parameter | Type | Description |
---|---|---|
fields | XmpPdfAExtensionField[] | The fields to add. |
remove(XmpPdfAExtensionField field)
public void remove(XmpPdfAExtensionField field)
Removes the field from the list of fields.
Parameters:
Parameter | Type | Description |
---|---|---|
field | XmpPdfAExtensionField | The field to remove. |
clear()
public void clear()
Clears all fields.
getXmlInternal(System.Xml.XmlDocument xmlDocument)
public System.Collections.Generic.List<System.Xml.XmlElement> getXmlInternal(System.Xml.XmlDocument xmlDocument)
Returns the list of xml elements that represent value type in xml tree.
Parameters:
Parameter | Type | Description |
---|---|---|
xmlDocument | com.aspose.ms.System.Xml.XmlDocument | The source xml document. |
Returns: com.aspose.ms.System.Collections.Generic.List<com.aspose.ms.System.Xml.XmlElement> - The list of xml elements.
getXml_(System.Xml.XmlDocument xmlDocument)
public List getXml_(System.Xml.XmlDocument xmlDocument)
Returns the list of xml elements that represent field in xml tree.
Parameters:
Parameter | Type | Description |
---|---|---|
xmlDocument | com.aspose.ms.System.Xml.XmlDocument | The source xml document. |
Returns: java.util.List - The list of fields.