Package | Description |
---|---|
org.vast.xml |
Modifier and Type | Field and Description |
---|---|
protected XMLDocument |
XMLFragment.xmlDocument |
Modifier and Type | Field and Description |
---|---|
protected Map<String,XMLDocument> |
DOMHelper.loadedDocuments
Linked documents (URI object -> XMLDocument Object)
|
Modifier and Type | Method and Description |
---|---|
XMLDocument |
DOMHelper.getParentDocument(Node node)
Retrieve XMLDocument this element is in
|
XMLDocument |
XMLFragment.getXmlDocument() |
XMLDocument |
DOMHelper.getXmlDocument()
Gets the XMLDocument attached to this DOMHelper
|
Modifier and Type | Method and Description |
---|---|
protected void |
XMLBindingsUtils.addOnlyUsedNamespaceMappingsToDOM(DOMHelper dom,
XMLDocument xmlDoc,
NamespaceRegister staxNsMap,
Node elt)
This recursively scans the created DOM tree to get all used namespaces
|
protected int |
DOMHelper.comparePaths(XMLDocument currentDocument,
ArrayList<String> actualPath,
String[] wantedPath)
Check if the paths are matching
Returns -1 if the beginning of wantedPath doesn't match actualPath Otherwise returns the number levels still needed to reach the wantedPath |
Element |
DOMHelper.createElement(XMLDocument parentDoc,
String qname)
Creates a new element using the underlying DOM Document.
|
XMLFragment |
DOMHelper.getLinkedFragment(XMLDocument currentDocument,
String idRef)
Returns an xml element given its ID
|
protected org.vast.xml.QName |
DOMHelper.getQName(XMLDocument parentDoc,
String qname)
Creates a QName object from the given "prefix:name" String.
|
protected boolean |
DOMHelper.readNode(XMLDocument currentDocument,
Node node,
int nodeTypeFilter,
int maxCount)
This function is called recursively and look for the wanted nodes
The matching nodes are added to the class variable 'matchingNodes' |
void |
XMLFragment.setXmlDocument(XMLDocument xmlDocument) |
protected boolean |
DOMHelper.writeNode(XMLDocument currentDocument,
Node node,
int nodeType)
Follow the path if nodes already exist or create necessary elements
|
Constructor and Description |
---|
XMLFragment(XMLDocument parentDocument,
Element baseElement) |
Copyright © 2016 Sensia Software LLC. All rights reserved.