|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.japisoft.dtdparser.document.AbstractDTDDocumentBuilder
com.japisoft.dtdparser.document.TraceDTDDocumentBuilder
Trace the DTD process building
Field Summary |
Fields inherited from interface com.japisoft.dtdparser.document.DTDDocumentBuilder |
CDATA_ATT_VAL, ENTITIES_ATT_VAL, ENTITY_ATT_VAL, FIXED_ATT, ID_ATT_VAL, IDREF_ATT_VAL, IMPLIED_ATT, INTERNAL_ENTITY, NMTOKEN_ATT_VAL, NMTOKENS_ATT_VAL, PUBLIC_ENTITY, REQUIRED_ATT, SYSTEM_ENTITY |
Constructor Summary | |
TraceDTDDocumentBuilder()
|
Method Summary | |
void |
notifyAttribute(java.lang.String element,
java.lang.String id,
int valueType,
java.lang.String[] enum,
int attDec,
java.lang.String def)
Found an attribute definition |
void |
notifyComment(java.lang.String comment)
Found a comment |
void |
notifyElementChoiceItem(java.lang.String item)
Item equals element name or #PCDATA |
void |
notifyElementIncludeItem(java.lang.String item)
Item equals element name or EMPTY or ANY or #PCDATA |
void |
notifyEntity(java.lang.String entity,
boolean reference,
int type,
java.lang.String value)
Found an entity |
void |
notifyOperator(char operator)
Notify operator '+' or '*' or '?' |
void |
notifyStartDTD()
Start the DTD definition |
void |
notifyStartElement(java.lang.String e)
Found a tag definition |
void |
notifyStartElementChildren()
Notify '(' meet for the element declaration |
void |
notifyStopDTD()
Stop the DTD definition |
void |
notifyStopElement()
End of the tag definition |
void |
notifyStopElementChildren()
Notify ')' meet for the element declaration |
Methods inherited from class com.japisoft.dtdparser.document.AbstractDTDDocumentBuilder |
getRoot, setNodeFactory |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TraceDTDDocumentBuilder()
Method Detail |
public void notifyStartDTD()
public void notifyStopDTD()
public void notifyComment(java.lang.String comment)
DTDDocumentBuilder
public void notifyEntity(java.lang.String entity, boolean reference, int type, java.lang.String value)
DTDDocumentBuilder
public void notifyStartElement(java.lang.String e)
DTDDocumentBuilder
public void notifyStopElement()
DTDDocumentBuilder
public void notifyElementChoiceItem(java.lang.String item)
public void notifyElementIncludeItem(java.lang.String item)
public void notifyStartElementChildren()
public void notifyOperator(char operator)
public void notifyStopElementChildren()
public void notifyAttribute(java.lang.String element, java.lang.String id, int valueType, java.lang.String[] enum, int attDec, java.lang.String def)
DTDDocumentBuilder
element
- Element tagid
- Attribute idvalueType
- ID, IDREF, ENTITY, ENTITIES, NMTOKEN, NMTOKENS or CDATAenum
- a String[]
valueattDec
- REQUIRED, IMPLIED or FIXEDdef
- a String
value or ""
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |