# Package net.sf.okapi.lib.xliff2.core

Classes implementing the object model of a parsed XLIFF document.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  IExtChild | Provides the methods to access a child of an `ExtElement`.
  IWithChangeTrack | Represents an object that can contain a `ChangeTrack` object.
  IWithExtAttributes | Provides a common interface to all objects that can have extension attributes.
  IWithExtElements | Provides a common interface to all objects that can have extension elements.
  IWithInheritedData | Represents the data inherited throughout a file element: translate, canResegment, srcDir and trgDir.
  IWithMetadata | Provides the methods to add and retrieve metadata for an object.
  IWithNotes | Provides the methods to add and retrieve notes for an object.
  IWithStore | Represents an object that is the parent of a `Store` object, for example a `Unit` holds the store for the inline codes and other related data in that unit.
  IWithValidation | Provides the methods to add and retrieve validation rules for an object.

- Class Summary
  Class | Description
  --- | ---
  AnnotatedSpan | Represents the information about a span of content that is associated with a marker (`MTag` object or a derived object).
  BaseList<T> | Provides the common methods for accessing and manipulating list-type objects such as the notes, the extension attributes, glossary, etc.
  CloneFactory | Provides methods to create deep-copy clones of various abstract classes or interfaces.
  CTag | Represents an opening, closing or standalone tag for an original inline code.
  DataWithExtAttributes | Implements the `IWithExtAttributes` interface.
  ExtAttribute | Represents an extension (or unsupported module) attribute.
  ExtAttributes | Represents a set of `ExtAttribute` objects and associated namespaces.
  ExtContent | Represents an extension content object: a `IExtChild` object of type `ExtChildType.TEXT` or `ExtChildType.CDATA`.
  ExtElement | Represent an extension (or un-supported module) element.
  ExtElements | Represents a set of `ExtElement` objects.
  Fragment | Represents a fragment of extracted content.
  InheritedData | Implements the `IWithInheritedData` interface.
  InsingnificantPartData | Represents the information associated with an insignificant part (from the XLIFF viewpoint).
  MidFileData | Implements the `IWithExtElements` and `IWithNotes` interfaces.
  MTag | Represents an opening or closing tag for an annotation marker.
  Note | Represents a note object.
  Notes | Represents a list of `Note` objects.
  Part | Represents a part of a unit.
  PCont | Represents the standalone tag of a protected content.
  ProcessingInstruction | Represents a processing instruction as an extension content object.
  Segment | Represents a segment object.
  Skeleton | Represents the information associated with the skeleton.
  StartFileData | Represents the information associated with a file element.
  StartGroupData | Represents the information associated with the start of a group.
  StartXliffData | Represents the information associated with an <xliff> element.
  Store | Represents the store where code and markers, as well as other information, are stored and shared for a given object implementing `IWithStore` (e.g.
  Tag | Provides the common methods for code and marker tags.
  Tags | Represents a collection of tags for a specific content.
  Unit | Represents the XLIFF `<unit>` element.

- Enum Summary
  Enum | Description
  --- | ---
  CanReorder | Represents the value of the canReorder field.
  Directionality | Represents the types of direction for the bi-directionality information.
  ExtChildType | Possible types child in an extension element: `ExtChildType.ELEMENT`, `ExtChildType.CDATA`, `ExtChildType.TEXT` or `ExtChildType.PI`.
  InsingnificantPartData.InsignificantPartType | Types of insignificant parts.
  Note.AppliesTo | Types of object a note can apply to.
  Part.GetTarget | Options when getting a target which does not exists yet.
  TagType | Possible types for tags: `TagType.OPENING`, `TagType.CLOSING` and `TagType.STANDALONE`.
  TargetState | Possible values for the `state` attribute of a target content: `TargetState.INITIAL`, `TargetState.TRANSLATED`, `TargetState.REVIEWED` and `TargetState.FINAL`.

- Exception Summary
  Exception | Description
  --- | ---
  InvalidMarkerOrderException | Signals that there is a marker not properly located in a fragment or unit.
  InvalidPositionException | Indicates that an action was using the second special character of a marker reference as a normal character.

## Package net.sf.okapi.lib.xliff2.core Description

Classes implementing the object model of a parsed XLIFF document.