org.exist.storage.serializers
Class NativeSerializer

java.lang.Object
  extended byorg.exist.storage.serializers.Serializer
      extended byorg.exist.storage.serializers.NativeSerializer
All Implemented Interfaces:
org.xml.sax.XMLReader

public class NativeSerializer
extends Serializer

Description of the Class

Author:
Wolfgang Meier

Field Summary
static int EXIST_ID_ALL
           
static int EXIST_ID_ELEMENT
           
static int EXIST_ID_NONE
           
 
Fields inherited from class org.exist.storage.serializers.Serializer
broker, contentHandler, createContainerElements, dtdHandler, encoding, ENCODING, EXIST_NS, EXPAND_XINCLUDES, factory, GENERATE_DOC_EVENTS, generateDocEvents, HIGHLIGHT_MATCHES, highlightMatches, indent, lexicalHandler, LOG, PRETTY_PRINT, processXInclude, processXSL, TAG_ATTRIBUTE_MATCHES, TAG_BOTH, TAG_ELEMENT_MATCHES, TAG_NONE, templates, user, xinclude, xslHandler
 
Constructor Summary
NativeSerializer(DBBroker broker, Configuration config)
          Constructor for the NativeSerializer object
 
Method Summary
protected  void serializeToSAX(org.w3c.dom.Document doc, boolean generateDocEvent)
          Description of the Method
protected  void serializeToSAX(java.util.Iterator iter, DocumentImpl doc, long gid)
          Description of the Method
protected  void serializeToSAX(org.w3c.dom.Node n)
          Description of the Method
protected  void serializeToSAX(NodeImpl node, java.util.Iterator iter, DocumentImpl doc, long gid, boolean first, java.util.ArrayList prefixes, Match[] matches)
          Description of the Method
protected  void serializeToSAX(NodeImpl node, java.util.Iterator iter, DocumentImpl doc, long gid, boolean first, Match[] matches)
          Description of the Method
protected  void serializeToSAX(NodeProxy p)
          Description of the Method
protected  void serializeToSAX(NodeProxy p, boolean generateDocEvents)
          Description of the Method
protected  void serializeToSAX(NodeSet set, int start, int howmany, long queryTime)
          Description of the Method
 
Methods inherited from class org.exist.storage.serializers.Serializer
applyXSLHandler, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, getUser, parse, parse, reset, serialize, serialize, serialize, serialize, serialize, serializeToSAX, setContentHandler, setDocument, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setLexicalHandler, setPrettyPrinter, setProperties, setProperty, setStylesheet, setStylesheet, setUser, setXSLHandler, toSAX, toSAX, toSAX, toSAX, toSAX
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXIST_ID_NONE

public static final int EXIST_ID_NONE
See Also:
Constant Field Values

EXIST_ID_ELEMENT

public static final int EXIST_ID_ELEMENT
See Also:
Constant Field Values

EXIST_ID_ALL

public static final int EXIST_ID_ALL
See Also:
Constant Field Values
Constructor Detail

NativeSerializer

public NativeSerializer(DBBroker broker,
                        Configuration config)
Constructor for the NativeSerializer object

Parameters:
broker - Description of the Parameter
Method Detail

serializeToSAX

protected void serializeToSAX(NodeSet set,
                              int start,
                              int howmany,
                              long queryTime)
                       throws org.xml.sax.SAXException
Description of the Method

Overrides:
serializeToSAX in class Serializer
Parameters:
set - Description of the Parameter
start - Description of the Parameter
howmany - Description of the Parameter
queryTime - Description of the Parameter
Throws:
org.xml.sax.SAXException - Description of the Exception

serializeToSAX

protected void serializeToSAX(org.w3c.dom.Document doc,
                              boolean generateDocEvent)
                       throws org.xml.sax.SAXException
Description of the Method

Overrides:
serializeToSAX in class Serializer
Parameters:
doc - Description of the Parameter
generateDocEvent - Description of the Parameter
Throws:
org.xml.sax.SAXException - Description of the Exception

serializeToSAX

protected void serializeToSAX(org.w3c.dom.Node n)
                       throws org.xml.sax.SAXException
Description of the Method

Parameters:
n - Description of the Parameter
Throws:
org.xml.sax.SAXException - Description of the Exception

serializeToSAX

protected void serializeToSAX(NodeProxy p)
                       throws org.xml.sax.SAXException
Description of the Method

Parameters:
p - Description of the Parameter
Throws:
org.xml.sax.SAXException - Description of the Exception

serializeToSAX

protected void serializeToSAX(NodeProxy p,
                              boolean generateDocEvents)
                       throws org.xml.sax.SAXException
Description of the Method

Overrides:
serializeToSAX in class Serializer
Parameters:
p - Description of the Parameter
generateDocEvents - Description of the Parameter
Throws:
org.xml.sax.SAXException - Description of the Exception

serializeToSAX

protected void serializeToSAX(java.util.Iterator iter,
                              DocumentImpl doc,
                              long gid)
                       throws org.xml.sax.SAXException
Description of the Method

Parameters:
iter - Description of the Parameter
doc - Description of the Parameter
gid - Description of the Parameter
Throws:
org.xml.sax.SAXException - Description of the Exception

serializeToSAX

protected void serializeToSAX(NodeImpl node,
                              java.util.Iterator iter,
                              DocumentImpl doc,
                              long gid,
                              boolean first,
                              Match[] matches)
                       throws org.xml.sax.SAXException
Description of the Method

Parameters:
node - Description of the Parameter
iter - Description of the Parameter
doc - Description of the Parameter
gid - Description of the Parameter
first - Description of the Parameter
Throws:
org.xml.sax.SAXException - Description of the Exception

serializeToSAX

protected void serializeToSAX(NodeImpl node,
                              java.util.Iterator iter,
                              DocumentImpl doc,
                              long gid,
                              boolean first,
                              java.util.ArrayList prefixes,
                              Match[] matches)
                       throws org.xml.sax.SAXException
Description of the Method

Parameters:
node - Description of the Parameter
iter - Description of the Parameter
doc - Description of the Parameter
gid - Description of the Parameter
first - Description of the Parameter
prefixes - Description of the Parameter
Throws:
org.xml.sax.SAXException - Description of the Exception


Copyright (C) Wolfgang Meier. All rights reserved.