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 String
DocumentToString
(Document doc) DocumentToString.static void
ElementToStream
(Element element, OutputStream out) ElementToStream.getAllNode
(Node node) getAllNode.GetElementByLocalName
(Node node, String localName) GetElementByLocalName.static String
GetMasterParentNodeName
(Node node) GetMasterParentNodeName.static void
MergeDocument
(Document base, Document merge) MergeDocument.static void
MergeReference
(Document doc, URI docUri) MergeReference.static Boolean
ValidateNewNameSpace.
-
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
- aDocument
objectdocUri
- aURI
object- Throws:
URISyntaxException
- if any.SAXException
- if any.IOException
- if any.
-
MergeDocument
MergeDocument.
-
ValidateNewNameSpace
ValidateNewNameSpace.
-
ElementToStream
ElementToStream.
- Parameters:
element
- aElement
objectout
- aOutputStream
object
-
DocumentToString
DocumentToString.
-