|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
attlistDecl(int elementType,
int attrName,
int attType,
java.lang.String enumString,
int attDefaultType,
int attDefaultValue)
callback for an attribute list declaration. |
void |
commentInDTD(int dataIndex)
Callback for comment in DTD. |
void |
elementDecl(int elementType,
XMLValidator.ContentSpec contentSpec)
callback for an element declaration. |
void |
endDTD()
callback for the end of the DTD This function will be called at the end of the DTD. |
void |
endNamespaceDeclScope(int prefix)
callback for the end a namespace declaration scope. |
void |
externalEntityDecl(int entityName,
int publicId,
int systemId)
callback for external general entity declaration. |
void |
externalPEDecl(int entityName,
int publicId,
int systemId)
callback for an external parameter entity declaration. |
void |
internalEntityDecl(int entityName,
int entityValue)
callback for internal general entity declaration. |
void |
internalPEDecl(int entityName,
int entityValue)
callback for an internal parameter entity declaration. |
void |
internalSubset(int internalSubset)
Supports DOM Level 2 internalSubset addition. |
void |
notationDecl(int notationName,
int publicId,
int systemId)
callback for a notation declaration. |
void |
processingInstructionInDTD(int targetIndex,
int dataIndex)
Callback for processing instruction in DTD. |
void |
setValidating(boolean flag)
Tell the handler that validation is happening |
void |
startDTD(int rootElementType,
int publicId,
int systemId)
callback for the start of the DTD This function will be called when a <!DOCTYPE...> declaration is encountered. |
void |
startNamespaceDeclScope(int prefix,
int uri)
callback for the start of a namespace declaration scope. |
void |
unparsedEntityDecl(int entityName,
int publicId,
int systemId,
int notationName)
callback for an unparsed entity declaration. |
Method Detail |
public void setValidating(boolean flag) throws java.lang.Exception
flag
- true if validation is occuringpublic void startDTD(int rootElementType, int publicId, int systemId) throws java.lang.Exception
rootElementType
- element handle for the root element of the documentpublicId
- string pool index of the DTD's public IDsystemId
- string pool index of the DTD's system IDpublic void endDTD() throws java.lang.Exception
public void elementDecl(int elementType, XMLValidator.ContentSpec contentSpec) throws java.lang.Exception
elementType
- element handle of the element being declaredcontentSpec
- contentSpec for the element being declaredXMLValidator.ContentSpec
public void attlistDecl(int elementType, int attrName, int attType, java.lang.String enumString, int attDefaultType, int attDefaultValue) throws java.lang.Exception
elementType
- element handle for the attribute's elementattrName
- string pool index of the attribute nameattType
- type of attributeenumString
- String representing the values of the enumeration,
if the attribute is of enumerated type, or null if it is not.attDefaultType
- an integer value denoting the DefaultDecl valueattDefaultValue
- string pool index of this attribute's default value
or -1 if there is no defaultvaluepublic void internalPEDecl(int entityName, int entityValue) throws java.lang.Exception
entityName
- string pool index of the entity nameentityValue
- string pool index of the entity replacement textpublic void externalPEDecl(int entityName, int publicId, int systemId) throws java.lang.Exception
entityName
- string pool index of the entity namepublicId
- string pool index of the entity's public id.systemId
- string pool index of the entity's system id.public void internalEntityDecl(int entityName, int entityValue) throws java.lang.Exception
entityName
- string pool index of the entity nameentityValue
- string pool index of the entity replacement textpublic void externalEntityDecl(int entityName, int publicId, int systemId) throws java.lang.Exception
entityName
- string pool index of the entity namepublicId
- string pool index of the entity's public id.systemId
- string pool index of the entity's system id.public void unparsedEntityDecl(int entityName, int publicId, int systemId, int notationName) throws java.lang.Exception
entityName
- string pool index of the entity namepublicId
- string pool index of the entity's public id.systemId
- string pool index of the entity's system id.notationName
- string pool index of the notation name.public void notationDecl(int notationName, int publicId, int systemId) throws java.lang.Exception
notationName
- string pool index of the notation namepublicId
- string pool index of the notation's public id.systemId
- string pool index of the notation's system id.public void commentInDTD(int dataIndex) throws java.lang.Exception
comment
- the string pool index of the comment textpublic void processingInstructionInDTD(int targetIndex, int dataIndex) throws java.lang.Exception
target
- the string pool index of the PI's targetdata
- the string pool index of the PI's datapublic void startNamespaceDeclScope(int prefix, int uri) throws java.lang.Exception
prefix
- string pool index of the namespace prefix being declareduri
- string pool index of the namespace uri begin boundjava.lang.Exception
- public void endNamespaceDeclScope(int prefix) throws java.lang.Exception
prefix
- string pool index of the namespace prefix being declaredpublic void internalSubset(int internalSubset)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |