public class XLIFFPhaseAnnotation extends Object implements IAnnotation
| Constructor and Description |
|---|
XLIFFPhaseAnnotation() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(XLIFFPhase phase)
Add a dereferenced phase element to the annotation.
|
void |
add(XLIFFPhase phase,
StartSubDocument startSubDoc)
Add a parsed %lt;phase> element to a StartSubDocument Event.
|
XLIFFPhase |
get(String phaseName) |
XLIFFPhase |
getReferencedPhase() |
String |
toXML() |
void |
updatePhaseAnnotation(StartSubDocument startSubDoc) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStringpublic void add(XLIFFPhase phase)
phase - - XLIFFPhase pulled from a StartSubDocument using the phase-name attribute.public void add(XLIFFPhase phase, StartSubDocument startSubDoc)
phase - the phase elementstartSubDoc - the StartSubDocument Eventpublic XLIFFPhase get(String phaseName)
public XLIFFPhase getReferencedPhase()
public void updatePhaseAnnotation(StartSubDocument startSubDoc)
public String toXML()
Copyright © 2021. All rights reserved.