| java.lang.Object com.caucho.relaxng.program.Item com.caucho.relaxng.program.AttributeItem
AttributeItem | public class AttributeItem extends Item (Code) | | Generates programs from patterns.
|
Field Summary | |
final protected static L10N | L |
L | final protected static L10N L(Code) | | |
allowAttribute | public boolean allowAttribute(QName name, String value) throws RelaxException(Code) | | Returns true if the attribute is allowed.
Parameters: name - the name of the attribute |
allowEmpty | public boolean allowEmpty()(Code) | | The attribute does not allow the empty match.
|
attributeEnd | public Item attributeEnd()(Code) | | Returns the item after the attribute ends. In this case,
return null since this attribute is still required.
|
attributeSet | public void attributeSet(HashSet<QName> set)(Code) | | Returns the attribute set, the set of attribute names possible.
|
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.
|
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.
|
setAttribute | public Item setAttribute(QName name, String value) throws RelaxException(Code) | | Returns the next item on the match.
Parameters: name - the name of the attribute Parameters: value - the value of the attribute |
toSyntaxDescription | public String toSyntaxDescription(int depth)(Code) | | Returns the pretty printed syntax.
|
|
|