Package net.sf.okapi.filters.txml
Class TXMLSegAnnotation
- java.lang.Object
-
- net.sf.okapi.filters.txml.TXMLSegAnnotation
-
- All Implemented Interfaces:
Cloneable,IAnnotation
public class TXMLSegAnnotation extends Object implements IAnnotation
-
-
Constructor Summary
Constructors Constructor Description TXMLSegAnnotation(String value)Create a new TXMLSegAnnotation object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasWSAfter()booleanhasWSBefore()StringtoString()Gets a human readable representation of this annotation.
-
-
-
Constructor Detail
-
TXMLSegAnnotation
public TXMLSegAnnotation(String value)
Create a new TXMLSegAnnotation object.- Parameters:
value- the value: 'b'=ws before, 'a'=ws after, 'ba'=ws before and after
-
-
Method Detail
-
hasWSBefore
public boolean hasWSBefore()
-
hasWSAfter
public boolean hasWSAfter()
-
toString
public String toString()
Description copied from interface:IAnnotationGets a human readable representation of this annotation.- Specified by:
toStringin interfaceIAnnotation- Overrides:
toStringin classObject- Returns:
- a human readable representation of this annotation.
-
-