Package org.ow2.clif.util
Class XMLEntityResolver
- java.lang.Object
-
- org.ow2.clif.util.XMLEntityResolver
-
- All Implemented Interfaces:
org.xml.sax.EntityResolver
public class XMLEntityResolver extends java.lang.Object implements org.xml.sax.EntityResolverEntity resolver for XML parsing. Relies on the application class loader to get resources (typically DTD specification files embedded in CLIF's runtime jar). Understands "classpath:", "file://" and empty prefixes. Handles cases where the XML parser adds current working directory to relative paths.- Author:
- Bruno Dillenseger
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCLASSPATH_SCHEMEstatic java.lang.StringFILE_SCHEME
-
Constructor Summary
Constructors Constructor Description XMLEntityResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xml.sax.InputSourceresolveEntity(java.lang.String publicId, java.lang.String systemId)
-
-
-
Field Detail
-
CLASSPATH_SCHEME
public static final java.lang.String CLASSPATH_SCHEME
- See Also:
- Constant Field Values
-
FILE_SCHEME
public static final java.lang.String FILE_SCHEME
- See Also:
- Constant Field Values
-
-