|
|||||||||||
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 IDjava.lang.Exception
- public void internalSubset(int internalSubset) throws java.lang.Exception
public void textDecl(int version, int encoding) throws java.lang.Exception
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 declaredjava.lang.Exception
- XMLContentSpec
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 defaultvaluejava.lang.Exception
- public 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 textjava.lang.Exception
- public 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.java.lang.Exception
- 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 textjava.lang.Exception
- public 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.java.lang.Exception
- 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.java.lang.Exception
- 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.java.lang.Exception
- 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 datajava.lang.Exception
- public void comment(int dataIndex) throws java.lang.Exception
comment
- the string pool index of the comment textjava.lang.Exception
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |