| Constructor and Description |
|---|
DomBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Document |
newDocument()
Create an empty DOM document.
|
static Document |
newDocument(IName name)
Create a DOM document including the document element node.
|
static Document |
newDocument(String namespaceUri,
String documentElement)
Create a DOM document including the document element node.
|
static Document |
parse(File input)
Parse a File into a Document
|
static Document |
parse(InputStream input)
Parse an input stream into a Document
|
static Document |
parse(String input)
Parse a string into a Document
|
static Document |
parse(XMLMarkup input)
Parse a string into a Document
|
public static Document newDocument()
public static Document newDocument(String namespaceUri, String documentElement)
namespaceUri - namespace of document elementdocumentElement - local name of document elementpublic static Document newDocument(IName name)
name - IName of document elementpublic static Document parse(InputStream input) throws SAXException
input - the input streamSAXException - no descriptionpublic static Document parse(File input) throws SAXException, IOException
input - the input streamSAXException - no descriptionIOException - no descriptionpublic static Document parse(String input) throws SAXException
input - the input streamSAXException - no descriptionpublic static Document parse(XMLMarkup input) throws SAXException
input - the input streamSAXException - no description| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice