| Package | Description |
|---|---|
| net.sf.okapi.lib.xliff2 |
Classes shared across the library.
|
| net.sf.okapi.lib.xliff2.document |
Classes to hold in memory a complete parsed XLIFF document.
|
| net.sf.okapi.lib.xliff2.reader |
Classes to read and validate an XLIFF document.
|
| Modifier and Type | Method and Description |
|---|---|
URIParser |
URIParser.complementReference()
Changes this object to represent a complete fragment identifier if the initial one was relative.
|
URIParser |
URIParser.setURL(String urilOrFragment)
Sets the URI for this object.
|
URIParser |
URIParser.setURL(String urilOrFragment,
String contextFileId,
String contextGroupId,
String contextUnitId)
Sets the URI and context identifiers for this object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
XLIFFDocument.fetchReference(URIParser up)
Retrieves the object corresponding to a given URI fragment.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
URIContext.matches(Event event,
URIParser up) |
static void |
XLIFFReader.validate(File file,
URIParser uriParser)
Validates an XLIFF document passed as a File object.
|
static void |
XLIFFReader.validate(InputStream inputStream,
URIParser uriParser)
Validates an XLIFF document passed as a stream.
|
static void |
XLIFFReader.validate(String input,
URIParser uriParser)
Validates an XLIFF document passed as a string.
|
static void |
XLIFFReader.validate(URI inputURI,
URIParser uriParser)
Validates an XLIFF document passed as a URI.
|
| Constructor and Description |
|---|
XLIFFReader(int validation,
URIParser uriParserToUse)
Creates a new XLIFFReader object.
|
Copyright © 2020. All rights reserved.