|
HPSearch | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcgl.hpsearch.nb4ws.WSDL.XMLUtils
XML support and utilities
| Method Summary | |
static org.exolab.castor.xml.schema.Schema |
convertElementToSchema(Element element)
Converts the jdom element into a castor schema. |
static Element |
convertSchemaToElement(org.exolab.castor.xml.schema.Schema schema)
Converts a castor schema into a jdom element. |
static String |
outputString(Document doc)
Returns a string representation of the given jdom document. |
static String |
outputString(Element elem)
Returns a string representation of the given jdom element. |
static String |
outputString(org.exolab.castor.xml.schema.Schema schema)
Returns a string representation of the given castor schema. |
static org.exolab.castor.xml.schema.Schema |
readSchema(Reader reader)
It reads the given reader and returns the castor schema. |
static Document |
readXML(Reader reader)
It reads the given xml reader and returns the jdom document. |
static Document |
readXML(String xml)
It reads the given xml returns the jdom document. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static String outputString(Document doc)
doc - The jdom document to be converted into a string.
public static String outputString(Element elem)
elem - The jdom element to be converted into a string.
public static Document readXML(String xml)
throws JDOMException,
IOException
xml - The xml to read.
JDOMException - If the parsing failed.
IOException
public static Document readXML(Reader reader)
throws JDOMException,
IOException
reader - The xml reader to read.
JDOMException - If the parsing failed.
IOException
public static org.exolab.castor.xml.schema.Schema readSchema(Reader reader)
throws IOException
reader - The reader to read.
IOException - If the schema could not be read from the reader.
public static Element convertSchemaToElement(org.exolab.castor.xml.schema.Schema schema)
throws SAXException,
IOException,
JDOMException
schema - The castor schema to be converted.
SAXException - If the castor schema could not be written out.
IOException - If the castor schema could not be written out.
JDOMException - If the output of the castor schema could not be converted into a jdom element.
public static org.exolab.castor.xml.schema.Schema convertElementToSchema(Element element)
throws IOException
element - The jdom element to be converted into a castor schema.
IOException - If the jdom element could not be written out.
public static String outputString(org.exolab.castor.xml.schema.Schema schema)
throws IOException,
SAXException
schema - The castor schema to be converted into a string.
IOException - If the schema could not be written out.
SAXException - If the schema could not be written out.
|
HPSearch | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||