public class XLIFFContextGroup extends Object implements IAnnotation, Iterable<XLIFFContextGroup.Context>
| Modifier and Type | Class and Description |
|---|---|
static class |
XLIFFContextGroup.Context
Represents the context of the XLIFF 1.2 context-group element.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
CRC |
static String |
ELEMENT_NAME |
static String |
NAME |
static String |
PURPOSE |
| Constructor and Description |
|---|
XLIFFContextGroup(EncoderManager encoderManager,
String name,
String purpose,
String crc,
List<XLIFFContextGroup.Context> contexts) |
| Modifier and Type | Method and Description |
|---|---|
void |
addContext(XLIFFContextGroup.Context context) |
String |
crc() |
Iterator<XLIFFContextGroup.Context> |
iterator() |
String |
name() |
String |
purpose() |
void |
readWith(XMLStreamReader streamReader) |
String |
toString()
Gets a human readable representation of this annotation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static final String ELEMENT_NAME
public static final String NAME
public static final String PURPOSE
public static final String CRC
public XLIFFContextGroup(EncoderManager encoderManager, String name, String purpose, String crc, List<XLIFFContextGroup.Context> contexts)
public String name()
public String purpose()
public String crc()
public Iterator<XLIFFContextGroup.Context> iterator()
iterator in interface Iterable<XLIFFContextGroup.Context>public void addContext(XLIFFContextGroup.Context context)
public void readWith(XMLStreamReader streamReader) throws XMLStreamException
XMLStreamExceptionpublic String toString()
IAnnotationtoString in interface IAnnotationtoString in class ObjectCopyright © 2022. All rights reserved.