|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Build the DTD document
Field Summary | |
static int |
CDATA_ATT_VAL
|
static int |
ENTITIES_ATT_VAL
|
static int |
ENTITY_ATT_VAL
|
static int |
FIXED_ATT
|
static int |
ID_ATT_VAL
|
static int |
IDREF_ATT_VAL
|
static int |
IMPLIED_ATT
|
static int |
INTERNAL_ENTITY
|
static int |
NMTOKEN_ATT_VAL
|
static int |
NMTOKENS_ATT_VAL
|
static int |
PUBLIC_ENTITY
|
static int |
REQUIRED_ATT
|
static int |
SYSTEM_ENTITY
|
Method Summary | |
RootDTDNode |
getRoot()
|
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 parameter,
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 |
void |
setNodeFactory(DTDNodeFactory factory)
Factory for building DTDNode |
Field Detail |
public static final int INTERNAL_ENTITY
public static final int SYSTEM_ENTITY
public static final int PUBLIC_ENTITY
public static final int ID_ATT_VAL
public static final int IDREF_ATT_VAL
public static final int ENTITY_ATT_VAL
public static final int ENTITIES_ATT_VAL
public static final int NMTOKEN_ATT_VAL
public static final int NMTOKENS_ATT_VAL
public static final int CDATA_ATT_VAL
public static final int REQUIRED_ATT
public static final int IMPLIED_ATT
public static final int FIXED_ATT
Method Detail |
public RootDTDNode getRoot()
public void setNodeFactory(DTDNodeFactory factory)
public void notifyStartDTD()
public void notifyStopDTD()
public void notifyComment(java.lang.String comment)
public void notifyEntity(java.lang.String entity, boolean parameter, int type, java.lang.String value)
public void notifyStartElement(java.lang.String e)
public void notifyStopElement()
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)
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 |