API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.w3c.dom.ls. LSSerializer View Source
Author(s)
Since
Version
Serial
Hierarchy
 LSSerializer
Subinterfaces
Description
public interface LSSerializer
  A LSSerializer provides an API for serializing (writing) a DOM document out into XML.
See also:   
Methods
Hide/Show inherited methods
public DOMConfiguration getDomConfig ()
  The DOMConfiguration object used by the LSSerializer when serializing a DOM node.
public LSSerializerFilter getFilter ()
  When the application provides a filter, the serializer will call out to the filter before serializing each Node.
public String getNewLine ()
  The end-of-line sequence of characters to be used in the XML being written out.
public void setFilter (LSSerializerFilter filter)
  When the application provides a filter, the serializer will call out to the filter before serializing each Node.
public void setNewLine (String newLine)
  The end-of-line sequence of characters to be used in the XML being written out.
public boolean write (Node nodeArg, LSOutput destination) throws LSException
  Serialize the specified node as described above in the general description of the LSSerializer interface.
public String writeToString (Node nodeArg) throws DOMException LSException
  Serialize the specified node as described above in the general description of the LSSerializer interface.
public boolean writeToURI (Node nodeArg, String uri) throws LSException
  A convenience method that acts as if LSSerializer.write was called with a LSOutput with no encoding specified and LSOutput.systemId set to the uri argument.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar