Uses of Class
de.unirostock.sems.xmlutils.ds.DocumentNode
-
Packages that use DocumentNode Package Description de.unirostock.sems.xmlutils.alg de.unirostock.sems.xmlutils.ds de.unirostock.sems.xmlutils.tools -
-
Uses of DocumentNode in de.unirostock.sems.xmlutils.alg
Methods in de.unirostock.sems.xmlutils.alg with parameters of type DocumentNode Modifier and Type Method Description doubleSemsWeighter. getWeight(DocumentNode node)abstract doubleWeighter. getWeight(DocumentNode node)Computes the weight of a DocumentNode.doubleXyWeighter. getWeight(DocumentNode node) -
Uses of DocumentNode in de.unirostock.sems.xmlutils.ds
Fields in de.unirostock.sems.xmlutils.ds declared as DocumentNode Modifier and Type Field Description protected DocumentNodeTreeNode. parentThe parent node.Methods in de.unirostock.sems.xmlutils.ds that return DocumentNode Modifier and Type Method Description DocumentNodeDocumentNode. extract()Extracts this subtree.DocumentNodeTreeDocument. getNodeById(String id)Gets the node by id.DocumentNodeTreeNode. getParent()Gets the parent node.DocumentNodeTreeDocument. getRoot()Gets the root node.Methods in de.unirostock.sems.xmlutils.ds that return types with arguments of type DocumentNode Modifier and Type Method Description List<DocumentNode>TreeDocument. getNodesByTag(String tag)Gets the nodes sharing a certain tag name.Methods in de.unirostock.sems.xmlutils.ds with parameters of type DocumentNode Modifier and Type Method Description voidDocumentNode. addChild(DocumentNode toAdd)Adds a child to this node.doubleDocumentNode. getAttributeDistance(DocumentNode cmp)Calculates the distance of attributes.doubleDocumentNode. getAttributeDistance(DocumentNode cmp, boolean allowDifferentIds, boolean careAboutNames, boolean stricterNames)Calculates the distance of attributes.booleanDocumentNode. isBelow(DocumentNode parent)Checks if this node is a child of some other node (multilevel).voidDocumentNode. rmChild(DocumentNode toRemove)Remove a child.Constructors in de.unirostock.sems.xmlutils.ds with parameters of type DocumentNode Constructor Description DocumentNode(org.jdom2.Element element, DocumentNode parent, TreeDocument doc, Weighter w, int numChild, int level)Instantiates a new document node.TextNode(TextNode toCopy, DocumentNode parent, int numChild)Copies a text node.TextNode(String text, DocumentNode parent, TreeDocument doc, int numChild, Weighter w, int level)Instantiates a new text node.TreeNode(int type, DocumentNode parent, TreeDocument doc, int level)Instantiates a new tree node. -
Uses of DocumentNode in de.unirostock.sems.xmlutils.tools
Methods in de.unirostock.sems.xmlutils.tools with parameters of type DocumentNode Modifier and Type Method Description static org.jdom2.DocumentDocumentTools. getSubDoc(DocumentNode node)Computes the document oft a subtree.static StringDocumentTools. printPrettySubDoc(DocumentNode node)Prints the pretty sub doc.static StringDocumentTools. printSubDoc(DocumentNode node)Prints the sub doc.static StringDocumentTools. transformMathML(DocumentNode doc)Transform content MathML to display MathML, e.g.
-