|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.xmlc.html.HTMLProprietaryTags
Table of proprietary tags and attributes for the HTML parser.
Inner Class Summary | |
class |
HTMLProprietaryTags.Tag
Class used to record an tag with its content model. |
Field Summary | |
static int |
TAG_CM_BLOCK
Block tag content model. |
static int |
TAG_CM_EMPTY
Empty tag content model. |
static int |
TAG_CM_INLINE
Inline tag content model. |
static int |
TAG_CM_OPT
Closing tag is optional. |
static String |
TAG_SET_CYBER_STUDIO
Abobe CyberStudio proprietary tag set name. |
Constructor Summary | |
HTMLProprietaryTags()
|
Method Summary | |
void |
addAttribute(String attributeName)
Add a proprietary attribute to the set of allowed attributes. |
void |
addTag(String tagName,
int contentModel)
Add a proprietary tag to the set of allowed tags. |
void |
addTag(String tagName,
int contentModel,
String tagSet)
Add a proprietary tag from a tagset. |
void |
addTagSet(String tagSetName)
Specify one of the pre-defined sets of proprietary tags that the parser should accept. |
Enumeration |
getAttributes()
Get an enumeration of the Tag objects for the proprietary tags. |
Enumeration |
getTags()
Get an enumeration of the proprietary Tag objects. |
Enumeration |
getTagSets()
Get an enumeration of the tag sets that have been defined. |
Methods inherited from class java.lang.Object |
|
Field Detail |
public static final String TAG_SET_CYBER_STUDIO
public static final int TAG_CM_EMPTY
public static final int TAG_CM_INLINE
public static final int TAG_CM_BLOCK
public static final int TAG_CM_OPT
Constructor Detail |
public HTMLProprietaryTags()
Method Detail |
public void addTagSet(String tagSetName) throws XMLCException
tagSetName
- One of the predefined tag set names. An error is
generated if its illegal.public Enumeration getTagSets()
public void addTag(String tagName, int contentModel) throws XMLCException
tagName
- The name of the tag. The name is case insensitive.contentModel
- A bit set of the TAG_CM_*
constants.public Enumeration getTags()
public void addAttribute(String attributeName) throws XMLCException
attributeName
- The attribute name. The name is case insensitive.public Enumeration getAttributes()
public void addTag(String tagName, int contentModel, String tagSet)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |