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)
elementDecl in interface DeclHandlerDeclHandler.elementDecl(java.lang.String, java.lang.String)public void internalEntityDecl(String name, String value)
internalEntityDecl in interface DeclHandlerpublic void externalEntityDecl(String name, String publicID, String systemID)
externalEntityDecl in interface DeclHandlerpublic void attributeDecl(String arg0, String arg1, String arg2, String arg3, String arg4)
attributeDecl in interface DeclHandlerDeclHandler.attributeDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)public List<String[]> getInternalEntityDeclarations()
Copyright © 2008–2021 The Open Preservation Foundation. All rights reserved.