public class XmlDeclHandler extends Object implements DeclHandler
| Constructor and Description |
|---|
XmlDeclHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
attributeDecl(String arg0,
String arg1,
String arg2,
String arg3,
String arg4)
Report an attribute type declaration.
|
void |
elementDecl(String arg0,
String arg1)
Report an element type declaration.
|
void |
externalEntityDecl(String name,
String publicID,
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.
|
List<String[]> |
getExternalEntityDeclarations()
Returns list of entity declarations.
|
List<String[]> |
getInternalEntityDeclarations()
Returns list of entity declarations.
|
void |
internalEntityDecl(String name,
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.
|
public void elementDecl(String arg0, String arg1) throws SAXException
elementDecl in interface DeclHandlerSAXExceptionDeclHandler.elementDecl(java.lang.String, java.lang.String)public void internalEntityDecl(String name, String value) throws SAXException
internalEntityDecl in interface DeclHandlerSAXExceptionpublic void externalEntityDecl(String name, String publicID, String systemID) throws SAXException
externalEntityDecl in interface DeclHandlerSAXExceptionpublic void attributeDecl(String arg0, String arg1, String arg2, String arg3, String arg4) throws SAXException
attributeDecl in interface DeclHandlerSAXExceptionDeclHandler.attributeDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)public List<String[]> getInternalEntityDeclarations()
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.