| |
|
| java.lang.Object com.caucho.relaxng.program.Item com.caucho.relaxng.program.ElementItem
ElementItem | public class ElementItem extends Item (Code) | | Generates programs from patterns.
|
Field Summary | |
final protected static L10N | L |
L | final protected static L10N L(Code) | | |
allowEmpty | public boolean allowEmpty()(Code) | | The element does not allow the empty match.
|
allowsElement | public boolean allowsElement(QName name)(Code) | | Returns true if the element is allowed somewhere in the item.
allowsElement is used for error messages to give more information
in cases of order dependency.
Parameters: name - the name of the element true if the element is allowed somewhere |
equals | public boolean equals(Object o)(Code) | | Returns true if the object is an empty item.
|
firstSet | public void firstSet(HashSet<QName> set)(Code) | | Returns the first set, the set of element names possible.
|
getItemsIterator | public Iterator<Item> getItemsIterator()(Code) | | Return all possible child items or null
|
hashCode | public int hashCode()(Code) | | Returns the hash code for the empty item.
|
isSimpleSyntax | protected boolean isSimpleSyntax()(Code) | | Returns true for an element with simple syntax.
|
requiredFirstSet | public void requiredFirstSet(HashSet<QName> set)(Code) | | Returns the first set, the set of element names possible.
|
setChildrenItem | public void setChildrenItem(Item item)(Code) | | |
startElement | public Item startElement(QName name) throws RelaxException(Code) | | Returns the next item on the match.
Parameters: name - the name of the element |
toSyntaxDescription | public String toSyntaxDescription(int depth)(Code) | | Returns the pretty printed syntax.
|
|
|
|