Package net.sf.okapi.common.annotation
Class XLIFFContextGroup.Context
- java.lang.Object
-
- net.sf.okapi.common.annotation.XLIFFContextGroup.Context
-
- Enclosing class:
- XLIFFContextGroup
public static class XLIFFContextGroup.Context extends Object
Represents the context of the XLIFF 1.2 context-group element.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXLIFFContextGroup.Context.StandardContextTypes
-
Field Summary
Fields Modifier and Type Field Description static StringCRCstatic StringELEMENT_NAMEstatic StringMATCH_MANDATORYstatic StringTYPE
-
Constructor Summary
Constructors Constructor Description Context(EncoderManager encoderManager, String type, String matchMandatory, String crc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcrc()StringmatchMandatory()voidprependingText(String prependingText)voidreadWith(XMLStreamReader streamReader)StringtoString()Stringtype()Stringvalue()voidvalue(String value)
-
-
-
Field Detail
-
ELEMENT_NAME
public static final String ELEMENT_NAME
- See Also:
- Constant Field Values
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
MATCH_MANDATORY
public static final String MATCH_MANDATORY
- See Also:
- Constant Field Values
-
CRC
public static final String CRC
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Context
public Context(EncoderManager encoderManager, String type, String matchMandatory, String crc)
-
-
Method Detail
-
type
public String type()
-
matchMandatory
public String matchMandatory()
-
crc
public String crc()
-
value
public String value()
-
value
public void value(String value)
-
prependingText
public void prependingText(String prependingText)
-
readWith
public void readWith(XMLStreamReader streamReader) throws XMLStreamException
- Throws:
XMLStreamException
-
-