|
WebLogic Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.bea.document.XMLUtils
| Constructor Summary | |
XMLUtils()
|
|
| Method Summary | |
static java.lang.String |
decodeXML(java.lang.String encoded)
|
static java.lang.String |
encodeXML(java.lang.String s)
|
static java.lang.String |
encodeXML(java.lang.String s,
boolean canonical)
|
static boolean |
isTextEmpty(org.w3c.dom.Text text)
|
static void |
serializeXML(org.w3c.dom.Document document,
java.io.Writer writer)
Serialize (write to storage) a W3C DOM Document |
static void |
serializeXML(org.w3c.dom.Document document,
java.io.Writer writer,
java.lang.String encoding)
Serialize (write to storage) a W3C DOM Document |
static void |
serializeXMLNode(java.io.Writer writer,
int indent,
org.w3c.dom.Node node)
Serializes (write to storage) an XML node and its descendents. |
static java.lang.String |
translateXMLString(java.lang.String value)
Deprecated. superceded by encodeXML() |
static java.lang.String |
XMLtoString(org.w3c.dom.Document document)
Serialize (write to storage) a W3C DOM 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 java.lang.String decodeXML(java.lang.String encoded)
public static java.lang.String encodeXML(java.lang.String s)
public static java.lang.String encodeXML(java.lang.String s,
boolean canonical)
public static boolean isTextEmpty(org.w3c.dom.Text text)
public static java.lang.String translateXMLString(java.lang.String value)
value - XML string to be encoded
public static void serializeXMLNode(java.io.Writer writer,
int indent,
org.w3c.dom.Node node)
throws java.io.IOException
writer - The stream to write the serialized representation
of an XML element and its descendents.indent - The number of spaces to indent XML elements.node - A node to serialize, along with its attributes,
and its descendents.
public static java.lang.String XMLtoString(org.w3c.dom.Document document)
throws java.io.IOException
StringWriter out = new StringWriter();
serializeXML(document, out);
document - the document to be serialized
public static void serializeXML(org.w3c.dom.Document document,
java.io.Writer writer)
throws java.io.IOException
document - the document to be serialized
public static void serializeXML(org.w3c.dom.Document document,
java.io.Writer writer,
java.lang.String encoding)
throws java.io.IOException
document - the document to be serialized
|
WebLogic Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||