|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sapportals.wcm.service.pipeline.utils.XMLUtils
Congerie of static utility methods (deprecated).
Copyright 2004 SAP AG
| Fields inherited from interface com.sapportals.wcm.service.pipeline.IConst |
FORMATTER_DOCTYPE_PUBLIC, FORMATTER_DOCTYPE_SYSTEM, FORMATTER_ENCODING, FORMATTER_INDENT, FORMATTER_LINE_WIDTH, FORMATTER_METHOD, FORMATTER_MIME, FORMATTER_PRESERVE_SPACE, FORMATTER_XML_DECL, PROP_BROWSER, PROP_LANGUAGE, PROP_PATH, PROP_SAP, PROP_USER, PROP_WPL, PROP_XSL_DOM, PROP_XSL_PATH, PROP_XSL_PROD, TOOL_XMLPARSER, TOOL_XSLTPROC, WCM_FORMAT_PI, WCM_PROCESS_PI |
| Constructor Summary | |
XMLUtils()
|
|
| Method Summary | |
static void |
addTopLevelParam(org.w3c.dom.Document document,
java.lang.String name,
java.lang.String key,
java.lang.String value)
This method adds a top level parameter to the XML document |
static java.util.Vector |
getAllPIs(org.w3c.dom.Document document,
java.lang.String name)
This method returns a vector of PI nodes based on the PI target name. |
static java.util.Vector |
getAllPIs(org.w3c.dom.Document document,
java.lang.String name,
boolean remove)
This method returns all PI nodes based on the target name. |
static com.sapportals.wcm.service.pipeline.utils.ProcessingInstruction |
getFirstPI(org.w3c.dom.Document document,
java.lang.String name)
This method returns the first PI node based on the PI target name. |
static com.sapportals.wcm.service.pipeline.utils.ProcessingInstruction |
getFirstPI(org.w3c.dom.Document document,
java.lang.String name,
boolean remove)
This method returns the first PI based on the PI target name |
static java.util.Hashtable |
getPIPseudoAttributes(org.w3c.dom.Document document,
java.lang.String name)
This method returns an hashtable with all the pseudo attributes collected in the document. |
static java.util.Hashtable |
getPIPseudoAttributes(com.sapportals.wcm.service.pipeline.utils.ProcessingInstruction pi)
This method returns the pseudo attributes found in the first PI with the given name. |
static java.lang.String |
getStylesheetUri(org.w3c.dom.Document document)
This method extracts the stylesheet URI form a XML document |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLUtils()
| Method Detail |
public static void addTopLevelParam(org.w3c.dom.Document document,
java.lang.String name,
java.lang.String key,
java.lang.String value)
document - XML DOMkey - key of the top level parametervalue - value of the top level parametername - topLevelParam to be addedpublic static final java.lang.String getStylesheetUri(org.w3c.dom.Document document)
document - XML DOM
public static final java.util.Vector getAllPIs(org.w3c.dom.Document document,
java.lang.String name)
document - XML DOMname - target name of the PI
public static final java.util.Vector getAllPIs(org.w3c.dom.Document document,
java.lang.String name,
boolean remove)
document - XML DOMname - target name of the PIsremove - remove PIs from the DOM if the flag is true
public static final com.sapportals.wcm.service.pipeline.utils.ProcessingInstruction getFirstPI(org.w3c.dom.Document document,
java.lang.String name)
document - XML DOMname - target name
public static final com.sapportals.wcm.service.pipeline.utils.ProcessingInstruction getFirstPI(org.w3c.dom.Document document,
java.lang.String name,
boolean remove)
document - XML DOMname - target nameremove - remove PI from the DOM if the flag is true
public static final java.util.Hashtable getPIPseudoAttributes(org.w3c.dom.Document document,
java.lang.String name)
document - TBD: Description of the incoming method parametername - TBD: Description of the incoming method parameterpublic static final java.util.Hashtable getPIPseudoAttributes(com.sapportals.wcm.service.pipeline.utils.ProcessingInstruction pi)
pi - Processing instruction
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||