Class DocumentTypeInfoParser


  • @API(type=NOT_EXTENDABLE,
         src=PRIVATE)
    public class DocumentTypeInfoParser
    extends java.lang.Object
    Can parse framework files in memory.
    Since:
    26.1

    *********************************
    EXPERIMENTAL - Subject to change
    ********************************

    Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.

    • Constructor Detail

      • DocumentTypeInfoParser

        public DocumentTypeInfoParser()
    • Method Detail

      • parseFrameworkFile

        public static DocumentTypeInfo parseFrameworkFile​(java.io.File frameworkFile)
                                                   throws java.lang.Exception
        Loads a DocumentTypeInfo from a given framework file.
        Parameters:
        frameworkFile - The framework file.
        Returns:
        the DocumentTypeInfo object.
        Throws:
        java.lang.Exception - If fails to load the DocumentTypeInfo object.
      • parseExfFile

        public static DocumentTypeInfo parseExfFile​(java.io.File exfFile)
                                             throws java.io.IOException,
                                                    org.xml.sax.SAXException,
                                                    javax.xml.transform.TransformerConfigurationException,
                                                    net.sf.saxon.trans.XPathException,
                                                    java.lang.Exception
        Loads a DocumentTypeInfo from a given exf file.
        Parameters:
        exfFile - the .exf file.
        Returns:
        the DocumentTypeInfo object.
        Throws:
        java.io.IOException - If fails to load the DocumentTypeInfo object.
        org.xml.sax.SAXException - If fails to load the DocumentTypeInfo object.
        net.sf.saxon.trans.XPathException - If fails to load the DocumentTypeInfo object.
        javax.xml.transform.TransformerConfigurationException - If fails to load the DocumentTypeInfo object.
        java.lang.Exception - Generic exception.