org.aludratest.content.xml.impl
Class XMLContentImpl

java.lang.Object
  extended by org.aludratest.content.xml.impl.XMLContentImpl
All Implemented Interfaces:
ContentHandler, XMLContent

public class XMLContentImpl
extends Object
implements XMLContent

XML ContentHandler.

Author:
Volker Bergmann

Constructor Summary
XMLContentImpl()
           
 
Method Summary
 Document parse(InputStream in)
          Parses an XML document from a stream.
 Object queryXPath(Document document, String expression, QName returnType)
          Performs an XPath query on an XML document.
 void save(Document document, String encoding, OutputStream out)
          Saves an XML document in a stream.
 List<Attachment> saveDebugAttachments()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLContentImpl

public XMLContentImpl()
Method Detail

saveDebugAttachments

public List<Attachment> saveDebugAttachments()

parse

public Document parse(InputStream in)
Description copied from interface: XMLContent
Parses an XML document from a stream.

Specified by:
parse in interface XMLContent

save

public void save(Document document,
                 String encoding,
                 OutputStream out)
Description copied from interface: XMLContent
Saves an XML document in a stream.

Specified by:
save in interface XMLContent

queryXPath

public Object queryXPath(Document document,
                         String expression,
                         QName returnType)
Description copied from interface: XMLContent
Performs an XPath query on an XML document.

Specified by:
queryXPath in interface XMLContent


Copyright © 2015 aludratest.org. All rights reserved.