sk.uniba.euromath.document.schema.impl.tools
Class AcceptedContentComputer
java.lang.Object
sk.uniba.euromath.document.schema.impl.tools.AcceptedContentComputer
public final class AcceptedContentComputer
- extends Object
Returns set with those element expressions, whose elements can stand in first
place of element sequence generated by visited expression. Caches these
results for each expression queried.
- Author:
- Martin Vysny
Method Summary |
AcceptedContent |
getAcceptedContent(com.sun.msv.grammar.Expression exp)
Returns object with information, what content can be accepted now by
acceptor created from given expression. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AcceptedContentComputer
public AcceptedContentComputer()
- Constructs new instance of the computer.
getAcceptedContent
public AcceptedContent getAcceptedContent(com.sun.msv.grammar.Expression exp)
- Returns object with information, what content can be accepted now by
acceptor created from given expression.
- Parameters:
exp
- expression to examine. It must not contain
AttributeExps
.
- Returns:
- set of element expressions, that can accept next element.
Copyright © 2003-2006 null. All Rights Reserved.