public enum EventType extends Enum<EventType>
Event objects the XLIFFReader can generate.| Enum Constant and Description |
|---|
END_DOCUMENT
End of the input document.
|
END_FILE
End of a file in an XLIFF document.
|
END_GROUP
End of a group.
|
END_XLIFF
End of the XLIFF element in the document.
|
INSIGNIFICANT_PART
Non-significant parts of the document (white-spaces between elements
outside the content).
|
MID_FILE
Part of the file-level data after the skeleton and before the first unit or group.
|
SKELETON
Skeleton element.
|
START_DOCUMENT
Start of the input document.
|
START_FILE
Start of a file in an XLIFF document.
|
START_GROUP
Start of a group.
|
START_XLIFF
Start of the XLIFF element of the document.
|
TEXT_UNIT
A full unit element (start to end)
This event comes with a
Unit resource. |
| Modifier and Type | Method and Description |
|---|---|
static EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventType START_DOCUMENT
public static final EventType END_DOCUMENT
public static final EventType START_XLIFF
StartXliffData resource.public static final EventType END_XLIFF
public static final EventType START_FILE
StartFileData resource.public static final EventType MID_FILE
MidFileData resource.public static final EventType END_FILE
public static final EventType SKELETON
StartXliffData resource.public static final EventType START_GROUP
StartGroupData resource.public static final EventType END_GROUP
public static final EventType TEXT_UNIT
Unit resource.public static final EventType INSIGNIFICANT_PART
InsingnificantPartData resource.public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.