com.sapportals.wcm.util.xml
Class DomBuilder
java.lang.Object
com.sapportals.wcm.util.xml.DomBuilder
public class DomBuilder
- extends Object
Copyright (c) SAP AG 2001-2005
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomBuilder
public DomBuilder()
newDocument
public static Document newDocument()
parse
public static Document parse(String input,
boolean namespaceAware)
throws SAXException,
IOException
- Throws:
SAXException
IOException
parse
public static Document parse(InputSource is,
boolean namespaceAware)
throws SAXException
- Throws:
SAXException
parse
public static Document parse(String input)
throws SAXException,
IOException
- Parse a string into a Document
- Parameters:
input - the input stream
- Returns:
- the Document
- Throws:
SAXException
IOException
parse
public static Document parse(InputStream input,
boolean tolerateNSerrors)
throws SAXException,
IOException
- Parse an input stream into a Document
- Parameters:
input - the input streamtolerateNSerrors - when set to true , elements that
aren't XML-NS-wellformed but which are XML-wellformed will be
tolerated (and dropped)
- Returns:
- the Document
- Throws:
SAXException
IOException
This class can be accessed from:
|
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 2014 SAP AG Complete Copyright Notice