public class ZeroOrMoreItem extends Item
| Constructor and Description | 
|---|
| ZeroOrMoreItem(Item item) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | allowAttribute(QName name,
              java.lang.String value)Returns true if the attribute is allowed. | 
| boolean | allowEmpty()The element always allows | 
| boolean | allowsElement(QName name)Returns true if the element is allowed somewhere in the item. | 
| void | attributeSet(java.util.HashSet<QName> set)Returns the first set, the set of attribute names possible. | 
| boolean | equals(java.lang.Object o)Returns true if the object is an empty item. | 
| void | firstSet(java.util.HashSet<QName> set)Returns the first set, the set of element names possible. | 
| Item | getItem()Returns the item. | 
| java.util.Iterator<Item> | getItemsIterator()Return all possible child items or null | 
| int | hashCode()Returns the hash code for the empty item. | 
| protected boolean | isSimpleSyntax()Returns true for an element with simple syntax. | 
| void | requiredFirstSet(java.util.HashSet<QName> set)Returns the first set, the set of element names possible. | 
| Item | startElement(QName name)Returns the next item on the match. | 
| java.lang.String | toString() | 
| java.lang.String | toSyntaxDescription(int depth)Returns the pretty printed syntax. | 
addSyntaxNewline, attributeEnd, emptyItemIterator, endElement, error, groupContinuation, inElementContinuation, interleaveContinuation, itemIterator, setAttribute, textprotected static final L10N L
public ZeroOrMoreItem(Item item)
public Item getItem()
public void firstSet(java.util.HashSet<QName> set)
public void requiredFirstSet(java.util.HashSet<QName> set)
requiredFirstSet in class Itempublic boolean allowEmpty()
allowEmpty in class Itempublic java.util.Iterator<Item> getItemsIterator()
getItemsIterator in class Itempublic Item startElement(QName name) throws RelaxException
startElement in class Itemname - the name of the elementcontItem - the continuation itemRelaxExceptionpublic void attributeSet(java.util.HashSet<QName> set)
attributeSet in class Itempublic boolean allowAttribute(QName name, java.lang.String value) throws RelaxException
allowAttribute in class Itemname - the name of the attributevalue - the value of the attributeRelaxExceptionpublic boolean allowsElement(QName name)
allowsElement in class Itemname - the name of the elementpublic java.lang.String toSyntaxDescription(int depth)
toSyntaxDescription in class Itemprotected boolean isSimpleSyntax()
isSimpleSyntax in class Itempublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object