|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
com.sodius.mdw.core.util.io.XMLDefaultHandler
public class XMLDefaultHandler
Default base class for SAX2 event handlers.
This handler provides two features :
If you intent to provide an XML connector reader, you should consider to subclass this implementation.
Clients may subclass this class.
ModelReader,
XMLUtils.newParser()| Constructor Summary | |
|---|---|
XMLDefaultHandler()
|
|
| Method Summary | |
|---|---|
String |
intern(String value)
Returns a canonical representation for the specified string object. |
InputSource |
resolveEntity(String publicId,
String systemId)
This implementation ignores external entities. |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLDefaultHandler()
| Method Detail |
|---|
public InputSource resolveEntity(String publicId,
String systemId)
throws SAXException
resolveEntity in interface EntityResolverresolveEntity in class DefaultHandlerSAXExceptionpublic final String intern(String value)
Note : the interned pool of strings is local to this handler. Once this handler is garbaged, the whole pool of strings is garbaged as well.
value - the string to intern.
String.intern()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||