com.xerox.jxip
Class XipResult

java.lang.Object
  extended by com.xerox.jxip.XipResult

public class XipResult
extends java.lang.Object

XipResult Class


Constructor Summary
XipResult(java.util.Vector<XipUnit> xipUnits, java.lang.String fileName)
          Constructor
 
Method Summary
 java.lang.String getFileName()
          Gets the XipUnit vector
 java.util.Vector<XipUnit> getSentences()
          Deprecated. replaced by getXipUnits
 java.lang.String getSentenceString()
          Gets the sentences
 java.util.Vector<XipUnit> getXipUnits()
          Gets the XipUnit vector
 java.lang.String toString(boolean withFeature)
          return XipResult data as a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XipResult

public XipResult(java.util.Vector<XipUnit> xipUnits,
                 java.lang.String fileName)
Constructor

Parameters:
xipUnits - Vector of XipUnit
fileName - the file name which has been parsed
Method Detail

getSentences

@Deprecated
public java.util.Vector<XipUnit> getSentences()
Deprecated. replaced by getXipUnits

Gets the xipUnits

Returns:
Vector of XipUnit

getXipUnits

public java.util.Vector<XipUnit> getXipUnits()
Gets the XipUnit vector

Returns:
Vector of XipUnit

getFileName

public java.lang.String getFileName()
Gets the XipUnit vector

Returns:
Vector of XipUnit

getSentenceString

public java.lang.String getSentenceString()
Gets the sentences

Returns:
The string sentence

toString

public java.lang.String toString(boolean withFeature)
return XipResult data as a string

Parameters:
withFeature - if true build the string with the XipNode features
Returns:
XipResult to a string


Copyright © 2008 Xerox All Rights Reserved.