Package net.sf.okapi.filters.icml
Class ICMLSkeleton
- java.lang.Object
-
- net.sf.okapi.filters.icml.ICMLSkeleton
-
-
Field Summary
Fields Modifier and Type Field Description static StringNODEREMARKER
-
Constructor Summary
Constructors Constructor Description ICMLSkeleton(Document doc)ICMLSkeleton(Node topNode, Node scopeNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMovedParts(TextFragment[] movedParts)voidaddReferenceNode(String id, net.sf.okapi.filters.icml.NodeReference ref)ICMLSkeletonclone()Returns a shallow copy of this skeleton.DocumentgetDocument()booleangetForced()TextFragment[]getMovedParts()DocumentgetOriginal()IResourcegetParent()Gets the parent resource of this skeleton.HashMap<String,net.sf.okapi.filters.icml.NodeReference>getReferences()NodegetScopeNode()NodegetTopNode()booleanhasReferences()voidsetForced(boolean forced)voidsetParent(IResource parent)Sets a parent of this skeleton object.
-
-
-
Field Detail
-
NODEREMARKER
public static final String NODEREMARKER
- See Also:
- Constant Field Values
-
-
Method Detail
-
addReferenceNode
public void addReferenceNode(String id, net.sf.okapi.filters.icml.NodeReference ref)
-
addMovedParts
public void addMovedParts(TextFragment[] movedParts)
-
getMovedParts
public TextFragment[] getMovedParts()
-
hasReferences
public boolean hasReferences()
-
getReferences
public HashMap<String,net.sf.okapi.filters.icml.NodeReference> getReferences()
-
getDocument
public Document getDocument()
-
getTopNode
public Node getTopNode()
-
getOriginal
public Document getOriginal()
-
getScopeNode
public Node getScopeNode()
-
setForced
public void setForced(boolean forced)
-
getForced
public boolean getForced()
-
clone
public ICMLSkeleton clone()
Returns a shallow copy of this skeleton.
-
setParent
public void setParent(IResource parent)
Description copied from interface:ISkeletonSets a parent of this skeleton object. The parent is the resource that attaches this skeleton with SetSkeleton(). Normally the IResorce implementations set themselves as a parent for the skeleton.
-
-