Class DocumentTypeInfoParser
- java.lang.Object
-
- ro.sync.ecss.extensions.api.webapp.doctype.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 Summary
Constructors Constructor Description DocumentTypeInfoParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocumentTypeInfo
parseExfFile(java.io.File exfFile)
Loads a DocumentTypeInfo from a given exf file.static DocumentTypeInfo
parseFrameworkFile(java.io.File frameworkFile)
Loads a DocumentTypeInfo from a given framework file.
-
-
-
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.
-
-