dk.brics.xmlgraph.validator
Class ZeroOrMoreUnionChecker
java.lang.Object
dk.brics.xmlgraph.validator.ZeroOrMoreUnionChecker
public class ZeroOrMoreUnionChecker
- extends Object
Checker for zero-or-more/union content models.
Method Summary |
boolean |
isZeroOrMoreUnion(Node n)
Checks whether the given node represents a zero-or-more/union content model. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZeroOrMoreUnionChecker
public ZeroOrMoreUnionChecker(XMLGraph xg)
- Constructs a new checker.
isZeroOrMoreUnion
public boolean isZeroOrMoreUnion(Node n)
- Checks whether the given node represents a zero-or-more/union content model.
- Parameters:
n
- node in the XML graph
- Returns:
- true in case of a zero-or-more/union content model
Copyright © 2005-2010 Anders Møller.