|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
DTD specific entity handler
Method Summary | |
int |
addExternalEntityDecl(int entityName,
int publicId,
int systemId,
boolean isExternal)
|
int |
addExternalPEDecl(int entityName,
int publicId,
int systemId,
boolean isExternal)
|
int |
addInternalEntityDecl(int entityName,
int value,
boolean isExternal)
|
int |
addInternalPEDecl(int entityName,
int value,
boolean isExternal)
Declare entities and notations. |
int |
addNotationDecl(int notationName,
int publicId,
int systemId,
boolean isExternal)
|
void |
addRequiredNotation(int notationName,
Locator locator,
int majorCode,
int minorCode,
java.lang.Object[] args)
Remember a required but undeclared notation. |
int |
addUnparsedEntityDecl(int entityName,
int publicId,
int systemId,
int notationName,
boolean isExternal)
|
void |
checkRequiredNotations()
Check required but undeclared notations. |
void |
endEntityDecl()
End the scope of an entity declaration. |
boolean |
isNotationDeclared(int entityName)
Check for declared notation. |
boolean |
isUnparsedEntity(int entityName)
Check for unparsed entity. |
boolean |
startEntityDecl(boolean isPE,
int entityName)
Start the scope of an entity declaration. |
void |
startReadingFromExternalSubset(java.lang.String publicId,
java.lang.String systemId,
int readerDepth)
Start reading from the external subset of the DTD. |
void |
stopReadingFromExternalSubset()
Finished reading from the external subset of the DTD. |
Method Detail |
public void startReadingFromExternalSubset(java.lang.String publicId, java.lang.String systemId, int readerDepth) throws java.lang.Exception
publicId
- The public identifier for the external subset.systemId
- The system identifier for the external subset.readerDepth
- The depth to associate with the reader for the external subset.public void stopReadingFromExternalSubset() throws java.lang.Exception
public boolean startEntityDecl(boolean isPE, int entityName) throws java.lang.Exception
true
on success; otherwise
false
if the entity declaration is recursive.public void endEntityDecl() throws java.lang.Exception
public int addInternalPEDecl(int entityName, int value, boolean isExternal) throws java.lang.Exception
public int addExternalPEDecl(int entityName, int publicId, int systemId, boolean isExternal) throws java.lang.Exception
public int addInternalEntityDecl(int entityName, int value, boolean isExternal) throws java.lang.Exception
public int addExternalEntityDecl(int entityName, int publicId, int systemId, boolean isExternal) throws java.lang.Exception
public int addUnparsedEntityDecl(int entityName, int publicId, int systemId, int notationName, boolean isExternal) throws java.lang.Exception
public int addNotationDecl(int notationName, int publicId, int systemId, boolean isExternal) throws java.lang.Exception
public boolean isUnparsedEntity(int entityName)
entityName
- The string handle for the entity name.true
if entityName is an unparsed entity; otherwise
false
if entityName is not declared or not an unparsed entity.public boolean isNotationDeclared(int entityName)
notationName
- The string handle for the notation name.true
if notationName is a declared notation; otherwise
false
if notationName is not declared.public void addRequiredNotation(int notationName, Locator locator, int majorCode, int minorCode, java.lang.Object[] args)
public void checkRequiredNotations() throws java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |