Class DocumentTypeInfoParser
java.lang.Object
ro.sync.ecss.extensions.api.webapp.doctype.DocumentTypeInfoParser
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentTypeInfo
parseExfFile
(File exfFile) Loads a DocumentTypeInfo from a given exf file.static DocumentTypeInfo
parseFrameworkFile
(File frameworkFile) Loads a DocumentTypeInfo from a given framework file.
-
Constructor Details
-
DocumentTypeInfoParser
public DocumentTypeInfoParser()
-
-
Method Details
-
parseFrameworkFile
Loads a DocumentTypeInfo from a given framework file.- Parameters:
frameworkFile
- The framework file.- Returns:
- the DocumentTypeInfo object.
- Throws:
Exception
- If fails to load the DocumentTypeInfo object.
-
parseExfFile
public static DocumentTypeInfo parseExfFile(File exfFile) throws IOException, SAXException, TransformerConfigurationException, net.sf.saxon.trans.XPathException, Exception Loads a DocumentTypeInfo from a given exf file.- Parameters:
exfFile
- the .exf file.- Returns:
- the DocumentTypeInfo object.
- Throws:
IOException
- If fails to load the DocumentTypeInfo object.SAXException
- If fails to load the DocumentTypeInfo object.net.sf.saxon.trans.XPathException
- If fails to load the DocumentTypeInfo object.TransformerConfigurationException
- If fails to load the DocumentTypeInfo object.Exception
- Generic exception.
-