XmpPdfAExtensionField

Inheritance: java.lang.Object, com.aspose.pdf.XmpPdfAExtensionObject

public class XmpPdfAExtensionField extends XmpPdfAExtensionObject

This schema describes a field in a structured type. It is very similar to the PDF/A Property Value Type schema, but defines a field in a structure instead of a property. Schema namespace URI: http://www.aiim.org/pdfa/ns/field# Required schema namespace prefix: pdfaField.

Constructors

ConstructorDescription
XmpPdfAExtensionField(String name, String value, String valueType, String description)Initializes object.

Methods

MethodDescription
getName()Field name.
getValueType()Field value type, drawn from XMP Specification 2004, or an embedded PDF/A value type extension schema.
getXmlInternal(System.Xml.XmlDocument xmlDocument)Returns the list of xml elements that represent field in xml tree.
getXml_(System.Xml.XmlDocument xmlDocument)Returns the list of xml elements that represent field in xml tree.

XmpPdfAExtensionField(String name, String value, String valueType, String description)

public XmpPdfAExtensionField(String name, String value, String valueType, String description)

Initializes object.

Parameters:

ParameterTypeDescription
namejava.lang.StringThe field name.
valuejava.lang.StringThe field value.
valueTypejava.lang.StringThe field value type.
descriptionjava.lang.StringThe field description.

getName()

public String getName()

Field name. Field names must be valid XML element names.

Returns: java.lang.String - String

getValueType()

public String getValueType()

Field value type, drawn from XMP Specification 2004, or an embedded PDF/A value type extension schema. Predefined XMP type names or names of custom types.

Returns: java.lang.String - String

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 field in xml tree.

Parameters:

ParameterTypeDescription
xmlDocumentcom.aspose.ms.System.Xml.XmlDocumentThe source xml document.

Returns: com.aspose.ms.System.Collections.Generic.List<com.aspose.ms.System.Xml.XmlElement> - The list of fields.

getXml_(System.Xml.XmlDocument xmlDocument)

public List<System.Xml.XmlElement> getXml_(System.Xml.XmlDocument xmlDocument)

Returns the list of xml elements that represent field in xml tree.

Parameters:

ParameterTypeDescription
xmlDocumentcom.aspose.ms.System.Xml.XmlDocumentThe source xml document.

Returns: java.util.List<com.aspose.ms.System.Xml.XmlElement> - The list of fields.