Package org.forgerock.util.xml
Class XMLHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.forgerock.util.xml.XMLHandler
- All Implemented Interfaces:
 ContentHandler,DTDHandler,EntityResolver,ErrorHandler
This is a custom XML handler to load the dtds from the classpath This should
 be used by all the xml parsing document builders to set the default entity
 resolvers. This will avoid to have the dtds having specified in a fixed
 directory that will get replaced during installation This will need to
 specify the dtds as follows jar://com/sun/identity/sm/sms.dtd Bundle all the
 dtds along with the jar files and
- 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration 
- 
Constructor Details
- 
XMLHandler
public XMLHandler()Creates a new XML handler. 
 - 
 - 
Method Details
- 
resolveEntity
- Specified by:
 resolveEntityin interfaceEntityResolver- Overrides:
 resolveEntityin classDefaultHandler
 
 -