com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class XmpPdfAExtensionValueType



  • 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 Detail

      • XmpPdfAExtensionValueType

        public XmpPdfAExtensionValueType(String type,
                                         String namespaceUri,
                                         String prefix,
                                         String description)

        Initializes new object.

        Parameters:
        type - The value type.
        namespaceUri - The namespace URI.
        prefix - The prefix.
        description - The description.
    • Method Detail

      • getType

        public String getType()

        Gets the value type.

        Returns:
        String
      • getNamespaceUri

        public String getNamespaceUri()

        Gets the namespace URI.

        Returns:
        String
      • getPrefix

        public String getPrefix()

        Gets the prefix.

        Returns:
        String
      • getFields

        public com.aspose.ms.System.Collections.Generic.List<XmpPdfAExtensionField> getFields()

        Gets the list of fields.

        Returns:
        IList
      • add

        public void add(XmpPdfAExtensionField field)

        Add new field.

        Parameters:
        field - The field to add.
      • addRange

        public void addRange(XmpPdfAExtensionField[] fields)

        Adds the range of fields.

        Parameters:
        fields - The fields to add.
      • remove

        public void remove(XmpPdfAExtensionField field)

        Removes the field from the list of fields.

        Parameters:
        field - The field to remove.
      • clear

        public void clear()

        Clears all fields.

      • getXmlInternal

        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.

        Specified by:
        getXmlInternal in class XmpPdfAExtensionObject
        Parameters:
        xmlDocument - The source xml document.
        Returns:
        The list of xml elements.
      • getXml_

        public List getXml_(com.aspose.ms.System.Xml.XmlDocument xmlDocument)

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

        Specified by:
        getXml_ in class XmpPdfAExtensionObject
        Parameters:
        xmlDocument - The source xml document.
        Returns:
        The list of fields.