|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.staxutils.StaxUtils
public final class StaxUtils
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setInnerElementLevelThreshold(int i)
public static void setInnerElementCountThreshold(int i)
public static boolean isWoodstox()
public static javax.xml.stream.XMLInputFactory createXMLInputFactory(boolean nsAware)
nsAware
-
public static javax.xml.stream.XMLStreamWriter createXMLStreamWriter(Writer out)
public static javax.xml.stream.XMLStreamWriter createXMLStreamWriter(OutputStream out)
public static javax.xml.stream.XMLStreamWriter createXMLStreamWriter(OutputStream out, String encoding)
public static javax.xml.stream.XMLStreamWriter createXMLStreamWriter(Result r)
public static javax.xml.stream.XMLStreamReader createFilteredReader(javax.xml.stream.XMLStreamReader reader, javax.xml.stream.StreamFilter filter)
public static void nextEvent(javax.xml.stream.XMLStreamReader dr)
public static boolean toNextText(DepthXMLStreamReader reader)
public static boolean toNextTag(javax.xml.stream.XMLStreamReader reader)
public static boolean toNextTag(DepthXMLStreamReader reader, QName endTag)
public static void writeStartElement(javax.xml.stream.XMLStreamWriter writer, String prefix, String name, String namespace) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static boolean skipToStartOfElement(javax.xml.stream.XMLStreamReader in) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static boolean toNextElement(DepthXMLStreamReader dr)
public static boolean skipToStartOfElement(DepthXMLStreamReader in) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static void copy(Source source, OutputStream os) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static void copy(Source source, javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static Document copy(Document doc) throws javax.xml.stream.XMLStreamException, ParserConfigurationException
javax.xml.stream.XMLStreamException
ParserConfigurationException
public static void copy(Document doc, javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static void copy(Element node, javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static void copy(javax.xml.stream.XMLStreamReader reader, OutputStream os) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static void copy(javax.xml.stream.XMLStreamReader reader, javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
reader
- writer
-
javax.xml.stream.XMLStreamException
public static void copy(javax.xml.stream.XMLStreamReader reader, javax.xml.stream.XMLStreamWriter writer, boolean fragment) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static void writeDocument(Document d, javax.xml.stream.XMLStreamWriter writer, boolean repairing) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static void writeDocument(Document d, javax.xml.stream.XMLStreamWriter writer, boolean writeProlog, boolean repairing) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static void writeElement(Element e, javax.xml.stream.XMLStreamWriter writer, boolean repairing) throws javax.xml.stream.XMLStreamException
e
- writer
-
javax.xml.stream.XMLStreamException
public static void writeElement(Element e, javax.xml.stream.XMLStreamWriter writer, boolean repairing, boolean endElement) throws javax.xml.stream.XMLStreamException
e
- writer
- endElement
- true if the element should be ended
javax.xml.stream.XMLStreamException
public static void writeNode(Node n, javax.xml.stream.XMLStreamWriter writer, boolean repairing) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static Document read(Source s) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static Document read(InputStream s) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static Document read(InputSource s) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static Document read(javax.xml.stream.XMLStreamReader reader) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static Document read(javax.xml.stream.XMLStreamReader reader, boolean recordLoc) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static Document read(DocumentBuilder builder, javax.xml.stream.XMLStreamReader reader, boolean repairing) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static void readDocElements(Node parent, javax.xml.stream.XMLStreamReader reader, boolean repairing) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static void readDocElements(Node parent, javax.xml.stream.XMLStreamReader reader, boolean repairing, boolean isThreshold) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static void readDocElements(Document doc, Node parent, javax.xml.stream.XMLStreamReader reader, boolean repairing, boolean recordLoc) throws javax.xml.stream.XMLStreamException
parent
- reader
-
javax.xml.stream.XMLStreamException
public static void readDocElements(Document doc, Node parent, javax.xml.stream.XMLStreamReader reader, boolean repairing, boolean recordLoc, boolean isThreshold) throws javax.xml.stream.XMLStreamException
parent
- reader
-
javax.xml.stream.XMLStreamException
public static javax.xml.stream.XMLStreamReader createXMLStreamReader(InputSource src)
public static javax.xml.stream.XMLStreamReader createXMLStreamReader(InputStream in, String encoding)
in
- encoding
- ctx
-
public static javax.xml.stream.XMLStreamReader createXMLStreamReader(InputStream in)
in
-
public static javax.xml.stream.XMLStreamReader createXMLStreamReader(String systemId, InputStream in)
public static javax.xml.stream.XMLStreamReader createXMLStreamReader(Element el)
public static javax.xml.stream.XMLStreamReader createXMLStreamReader(Document doc)
public static javax.xml.stream.XMLStreamReader createXMLStreamReader(Element el, String sysId)
public static javax.xml.stream.XMLStreamReader createXMLStreamReader(Document doc, String sysId)
public static javax.xml.stream.XMLStreamReader createXMLStreamReader(Source source)
public static javax.xml.stream.XMLStreamReader createXMLStreamReader(Reader reader)
reader
-
public static QName readQName(javax.xml.stream.XMLStreamReader reader) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static String getUniquePrefix(javax.xml.stream.XMLStreamWriter writer, String namespaceURI, boolean declare) throws javax.xml.stream.XMLStreamException
nsUri
-
javax.xml.stream.XMLStreamException
public static String getUniquePrefix(javax.xml.stream.XMLStreamWriter writer, String namespaceURI) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static String getUniquePrefix(javax.xml.stream.XMLStreamWriter writer)
public static void printXmlFragment(javax.xml.stream.XMLStreamReader reader)
public static void writeEvent(javax.xml.stream.events.XMLEvent event, javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static String toString(Document doc) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static String toString(Element el) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static void close(javax.xml.stream.XMLStreamReader reader)
public static void close(javax.xml.stream.XMLStreamWriter writer)
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |