story.scheherazade.prologuer
Class SyntaxRestrictions

java.lang.Object
  extended by story.scheherazade.prologuer.SyntaxRestrictions

public class SyntaxRestrictions
extends java.lang.Object

A VerbNet node.


Constructor Summary
SyntaxRestrictions(java.io.File file, org.w3c.dom.Node synRestrsNode)
           
 
Method Summary
 boolean forbids(SyntaxRestrictionType type)
          Does the set forbid some type?
 SyntaxRestriction get(int i)
           
 LogicOperator getOperator()
           
 int positiveRestrictions()
           
 java.lang.StringBuffer render()
           
 int size()
           
 boolean supports(SyntaxRestrictionType type)
          Does the set support some type?
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyntaxRestrictions

public SyntaxRestrictions(java.io.File file,
                          org.w3c.dom.Node synRestrsNode)
                   throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

size

public int size()

positiveRestrictions

public int positiveRestrictions()

get

public SyntaxRestriction get(int i)
                      throws java.lang.Exception
Throws:
java.lang.Exception

getOperator

public LogicOperator getOperator()

render

public java.lang.StringBuffer render()

supports

public boolean supports(SyntaxRestrictionType type)
Does the set support some type?


forbids

public boolean forbids(SyntaxRestrictionType type)
Does the set forbid some type?



Copyright © 2011 David K. Elson. All Rights Reserved.