Package org.openscience.cdk.io.cml
Class CMLResolver
java.lang.Object
org.openscience.cdk.io.cml.CMLResolver
- All Implemented Interfaces:
EntityResolver
This class resolves DOCTYPE declaration for Chemical Markup Language (CML)
files and uses a local version for validation. More information about
CML can be found at http://www.xml-cml.org/.
- Author:
- Egon Willighagen <egonw@sci.kun.nl>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetExternalSubset(String name, String baseURI) Not implemented: always returns null.resolveEntity(String publicId, String systemId) Resolves SYSTEM and PUBLIC identifiers for CML DTDs.resolveEntity(String name, String publicId, String baseURI, String systemId) Not implemented, but uses resolveEntity(String publicId, String systemId) instead.
-
Constructor Details
-
CMLResolver
public CMLResolver()
-
-
Method Details
-
getExternalSubset
Not implemented: always returns null. -
resolveEntity
Not implemented, but uses resolveEntity(String publicId, String systemId) instead. -
resolveEntity
Resolves SYSTEM and PUBLIC identifiers for CML DTDs.- Specified by:
resolveEntityin interfaceEntityResolver- Parameters:
publicId- the PUBLIC identifier of the DTD (unused)systemId- the SYSTEM identifier of the DTD- Returns:
- the CML DTD as an InputSource or null if id's unresolvable
-