Modifier and Type | Class and Description |
---|---|
class |
DTDAny
Represents the ANY keyword in an Element's content spec
|
class |
DTDChoice
Represents a choice of items.
|
class |
DTDContainer
Represents an item that may contain other items (such as a
DTDChoice or a DTDSequence)
|
class |
DTDEmpty
Represents the EMPTY keyword in an Element's content spec
|
class |
DTDMixed
Represents a mixed Element content (PCDATA + choice/sequence).
|
class |
DTDName
Represents a named item in the DTD
|
class |
DTDPCData
Represents the #PCDATA keyword in an Element's content spec
|
class |
DTDSequence
Represents a sequence in an element's content.
|
Modifier and Type | Field and Description |
---|---|
DTDItem |
DTDElement.content
The element's content
|
Modifier and Type | Method and Description |
---|---|
DTDItem |
DTDElement.getContent()
Returns the content type of this element
|
DTDItem[] |
DTDContainer.getItem()
Retrieves the items in the container
|
DTDItem |
DTDContainer.getItem(int i)
Retrieves an item from the container
|
DTDItem[] |
DTDContainer.getItems()
Returns the elements as an array of items
|
protected DTDItem |
DTDParser.parseCP() |
Modifier and Type | Method and Description |
---|---|
void |
DTDContainer.add(DTDItem item)
Adds an element to the container
|
void |
DTDContainer.remove(DTDItem item)
Removes an element from the container
|
protected void |
DTDParser.removeElements(java.util.Hashtable h,
DTD dtd,
DTDItem item) |
void |
DTDElement.setContent(DTDItem theContent)
Sets the content type of this element
|
void |
DTDContainer.setItem(DTDItem[] newItems)
Stores items in the container
|
void |
DTDContainer.setItem(DTDItem anItem,
int i)
Stores an item in the container
|
Copyright (c) 2001 Mark Wutka.