dk.brics.xmlgraph.validator
Class ZeroOrMoreUnionChecker

java.lang.Object
  extended by dk.brics.xmlgraph.validator.ZeroOrMoreUnionChecker

public class ZeroOrMoreUnionChecker
extends Object

Checker for zero-or-more/union content models.


Constructor Summary
ZeroOrMoreUnionChecker(XMLGraph xg)
          Constructs a new checker.
 
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
 

Constructor Detail

ZeroOrMoreUnionChecker

public ZeroOrMoreUnionChecker(XMLGraph xg)
Constructs a new checker.

Method Detail

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.