Package org.opengis.cite.sensorml20.util
Class DocumentTools
java.lang.Object
org.opengis.cite.sensorml20.util.DocumentTools
DocumentTools class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringDocumentToString(Document doc) DocumentToString.static voidElementToStream(Element element, OutputStream out) ElementToStream.getAllNode(Node node) getAllNode.GetElementByLocalName(Node node, String localName) GetElementByLocalName.static StringGetMasterParentNodeName(Node node) GetMasterParentNodeName.static voidMergeDocument(Document base, Document merge) MergeDocument.static voidMergeReference(Document doc, URI docUri) MergeReference.static BooleanValidateNewNameSpace.
-
Constructor Details
-
DocumentTools
public DocumentTools()
-
-
Method Details
-
getAllNode
getAllNode.
-
GetMasterParentNodeName
GetMasterParentNodeName.
-
GetElementByLocalName
GetElementByLocalName.
-
MergeReference
public static void MergeReference(Document doc, URI docUri) throws URISyntaxException, SAXException, IOException MergeReference.
- Parameters:
doc- aDocumentobjectdocUri- aURIobject- Throws:
URISyntaxException- if any.SAXException- if any.IOException- if any.
-
MergeDocument
MergeDocument.
-
ValidateNewNameSpace
ValidateNewNameSpace.
-
ElementToStream
ElementToStream.
- Parameters:
element- aElementobjectout- aOutputStreamobject
-
DocumentToString
DocumentToString.
-