edu.mit.jmwe.data
Class InfMWEDesc.InfPart
java.lang.Object
edu.mit.jmwe.data.AbstractMWEDesc.AbstractPart
edu.mit.jmwe.data.InfMWEDesc.InfPart
- All Implemented Interfaces:
- IHasForm, IInfMWEDesc.IInfPart, IMWEDesc.IPart, Comparable<IMWEDesc.IPart>
- Enclosing class:
- InfMWEDesc
protected class InfMWEDesc.InfPart
- extends AbstractMWEDesc.AbstractPart
- implements IInfMWEDesc.IInfPart
Default implementation of the IInfMWEDesc.IInfPart
interface.
- Since:
- jMWE 1.0.0
- Version:
- $Id: InfMWEDesc.java 595 2011-05-06 01:58:29Z markaf $
- Author:
- M.A. Finlayson
InfMWEDesc.InfPart
public InfMWEDesc.InfPart(String form,
int index)
- Constructs the part from its text and index in the MWE.
- Parameters:
form
- the text of the partindex
- the position of this part in the MWE- Since:
- jMWE 1.0.0
getParent
public IInfMWEDesc getParent()
- Description copied from interface:
IMWEDesc.IPart
- Returns the MWE description of which this part is a part. Will never
return
null
.
- Specified by:
getParent
in interface IInfMWEDesc.IInfPart
- Specified by:
getParent
in interface IMWEDesc.IPart
- Overrides:
getParent
in class AbstractMWEDesc.AbstractPart
- Returns:
- the MWE description that contains this part.
Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.