|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.harvard.hul.ois.jhove.module.xml.XmlDeclHandler
public class XmlDeclHandler
This implementation of DeclHandler takes care of collecting entity declarations.
| Constructor Summary | |
|---|---|
XmlDeclHandler()
|
|
| Method Summary | |
|---|---|
void |
attributeDecl(java.lang.String arg0,
java.lang.String arg1,
java.lang.String arg2,
java.lang.String arg3,
java.lang.String arg4)
Report an attribute type declaration. |
void |
elementDecl(java.lang.String arg0,
java.lang.String arg1)
Report an element type declaration. |
void |
externalEntityDecl(java.lang.String name,
java.lang.String publicID,
java.lang.String systemID)
Adds external entity declarations to the entity declarations list in the form of a String[3], with element 0 being the name, element 1 the public ID, and 2 the system ID. |
java.util.List |
getExternalEntityDeclarations()
Returns list of entity declarations. |
java.util.List |
getInternalEntityDeclarations()
Returns list of entity declarations. |
void |
internalEntityDecl(java.lang.String name,
java.lang.String value)
Adds internal entity declarations to the entity declarations list in the form of a String[2], with element 0 being the name and element 1 being the value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlDeclHandler()
| Method Detail |
|---|
public void elementDecl(java.lang.String arg0,
java.lang.String arg1)
throws org.xml.sax.SAXException
elementDecl in interface org.xml.sax.ext.DeclHandlerorg.xml.sax.SAXExceptionDeclHandler.elementDecl(java.lang.String, java.lang.String)
public void internalEntityDecl(java.lang.String name,
java.lang.String value)
throws org.xml.sax.SAXException
internalEntityDecl in interface org.xml.sax.ext.DeclHandlerorg.xml.sax.SAXException
public void externalEntityDecl(java.lang.String name,
java.lang.String publicID,
java.lang.String systemID)
throws org.xml.sax.SAXException
externalEntityDecl in interface org.xml.sax.ext.DeclHandlerorg.xml.sax.SAXException
public void attributeDecl(java.lang.String arg0,
java.lang.String arg1,
java.lang.String arg2,
java.lang.String arg3,
java.lang.String arg4)
throws org.xml.sax.SAXException
attributeDecl in interface org.xml.sax.ext.DeclHandlerorg.xml.sax.SAXExceptionDeclHandler.attributeDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)public java.util.List getInternalEntityDeclarations()
public java.util.List getExternalEntityDeclarations()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||