Package net.sf.okapi.lib.xliff2.core
Class InsingnificantPartData
- java.lang.Object
-
- net.sf.okapi.lib.xliff2.core.InsingnificantPartData
-
public class InsingnificantPartData extends Object
Represents the information associated with an insignificant part (from the XLIFF viewpoint).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInsingnificantPartData.InsignificantPartTypeTypes of insignificant parts.
-
Constructor Summary
Constructors Constructor Description InsingnificantPartData(InsingnificantPartData.InsignificantPartType type, String data)Creates a newInsingnificantPartDataobject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetData()Gets the data for thisInsingnificantPartDataobject.InsingnificantPartData.InsignificantPartTypegetType()Gets the type for thisInsingnificantPartDataobject.
-
-
-
Constructor Detail
-
InsingnificantPartData
public InsingnificantPartData(InsingnificantPartData.InsignificantPartType type, String data)
Creates a newInsingnificantPartDataobject.- Parameters:
type- the type of the object.data- the data for the new part.
-
-
Method Detail
-
getData
public String getData()
Gets the data for thisInsingnificantPartDataobject.- Returns:
- the data for this
InsingnificantPartDataobject.
-
getType
public InsingnificantPartData.InsignificantPartType getType()
Gets the type for thisInsingnificantPartDataobject.- Returns:
- the type for this
InsingnificantPartDataobject.
-
-