edu.mit.jverbnet.data.syntax
Class SyntaxDesc

java.lang.Object
  extended by edu.mit.jverbnet.data.syntax.SyntaxDesc
All Implemented Interfaces:
ISyntaxDesc

public class SyntaxDesc
extends Object
implements ISyntaxDesc

Default implementation of ISyntaxDesc.

Since:
JVerbnet 1.0.0
Version:
1.0.0
Author:
Mark A. Finlayson

Field Summary
static SyntaxDesc EMPTY_SYNTAX
          Default empty syntax object.
 
Constructor Summary
SyntaxDesc(List<ISyntaxArgDesc> args0, List<ISyntaxArgDesc> args1)
          Creates a new syntax descriptor with the specified sets of arguments
 
Method Summary
 List<ISyntaxArgDesc> getFirstDescriptor()
          A list of syntax argument descriptors for the first argument.
 List<ISyntaxArgDesc> getSecondDescriptor()
          A list of syntax argument descriptors for the second argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_SYNTAX

public static final SyntaxDesc EMPTY_SYNTAX
Default empty syntax object.

Since:
JVerbnet 1.0.0
Constructor Detail

SyntaxDesc

public SyntaxDesc(List<ISyntaxArgDesc> args0,
                  List<ISyntaxArgDesc> args1)
Creates a new syntax descriptor with the specified sets of arguments

Parameters:
args0 - the list of first argument descriptors; may not contain null
args1 - the list of second argument descriptors; may not contain null
Since:
JVerbnet 1.0.0
Method Detail

getFirstDescriptor

public List<ISyntaxArgDesc> getFirstDescriptor()
Description copied from interface: ISyntaxDesc
A list of syntax argument descriptors for the first argument. The list will be non-null, but may be empty.

Specified by:
getFirstDescriptor in interface ISyntaxDesc
Returns:
a non-null, but possibly empty, list of syntax argument descriptors

getSecondDescriptor

public List<ISyntaxArgDesc> getSecondDescriptor()
Description copied from interface: ISyntaxDesc
A list of syntax argument descriptors for the second argument. The list will be non-null, but may be empty.

Specified by:
getSecondDescriptor in interface ISyntaxDesc
Returns:
a non-null, but possibly empty, list of syntax argument descriptors


Copyright © 2012 Massachusetts Institute of Technology. All Rights Reserved.