Package helma.objectmodel.dom
Class XmlUtil
java.lang.Object
helma.objectmodel.dom.XmlUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Element
getFirstElement
(Document document) get first "real" element (ie not the document-rootelement, but the next onestatic String
getTextContent
(Node element) return the text content of an elementstatic Document
static Document
parse
(InputStream in) static Document
parse
(InputSource in)
-
Constructor Details
-
XmlUtil
public XmlUtil()
-
-
Method Details
-
newDocument
- Returns:
- ...
-
parse
- Parameters:
in
- ...- Returns:
- ...
- Throws:
RuntimeException
- ...
-
parse
- Parameters:
in
- ...- Returns:
- ...
- Throws:
RuntimeException
- ...
-
getFirstElement
get first "real" element (ie not the document-rootelement, but the next one -
getTextContent
return the text content of an element
-