|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
attlistDecl(QName elementDecl,
QName attributeDecl,
int attType,
boolean attList,
java.lang.String enumString,
int attDefaultType,
int attDefaultValue)
callback for an attribute list declaration. |
void |
comment(int dataIndex)
Callback for comment in DTD. |
void |
elementDecl(QName elementDecl,
int contentSpecType,
int contentSpecIndex,
XMLContentSpec.Provider contentSpecProvider)
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 |
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 additions. |
void |
notationDecl(int notationName,
int publicId,
int systemId)
callback for a notation declaration. |
void |
processingInstruction(int targetIndex,
int dataIndex)
Callback for processing instruction in DTD. |
void |
startDTD(QName rootElement,
int publicId,
int systemId)
callback for the start of the DTD This function will be called when a <!DOCTYPE...> declaration is encountered. |
void |
textDecl(int version,
int encoding)
Signal the Text declaration of an external entity. |
void |
unparsedEntityDecl(int entityName,
int publicId,
int systemId,
int notationName)
callback for an unparsed entity declaration. |
Method Detail |
public void startDTD(QName rootElement, 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 internalSubset(int internalSubset) throws java.lang.Exception
public void textDecl(int version, int encoding) throws java.lang.Exception
public void endDTD() throws java.lang.Exception
public void elementDecl(QName elementDecl, int contentSpecType, int contentSpecIndex, XMLContentSpec.Provider contentSpecProvider) throws java.lang.Exception
elementType
- element handle of the element being declaredcontentSpec
- contentSpec for the element being declaredXMLContentSpec
public void attlistDecl(QName elementDecl, QName attributeDecl, int attType, boolean attList, 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 processingInstruction(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 comment(int dataIndex) throws java.lang.Exception
comment
- the string pool index of the comment text
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |