org.apache.cocoon.transformation.helpers
Class MirrorRecorder

java.lang.Object
  extended by org.apache.cocoon.transformation.helpers.NOPRecorder
      extended by org.apache.cocoon.transformation.helpers.MirrorRecorder
All Implemented Interfaces:
Cloneable, EventRecorder, XMLConsumer, ContentHandler, LexicalHandler

Deprecated. The only user of this class (I18nTransformer) now uses ParamSaxBuffer

public class MirrorRecorder
extends NOPRecorder
implements EventRecorder, Cloneable

Consume elements start/end and characters events and reproduce them. WARNING: THIS CLASS DOES NOT WORK PROPERLY WITH NAMESPACES

Version:
CVS $Id: MirrorRecorder.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Matthieu Sozeau

Constructor Summary
MirrorRecorder()
          Deprecated.  
MirrorRecorder(MirrorRecorder n)
          Deprecated.  
MirrorRecorder(Node n)
          Deprecated.  
 
Method Summary
 void characters(char[] ary, int start, int length)
          Deprecated.  
 void characters(String tmp)
          Deprecated.  
 Object clone()
          Deprecated.  
 boolean empty()
          Deprecated.  
 void endElement(String namespace, String name, String raw)
          Deprecated.  
 void recycle()
          Deprecated.  
 void send(ContentHandler handler)
          Deprecated.  
 void send(ContentHandler handler, Map params)
          Deprecated.  
 void startElement(String namespace, String name, String raw, Attributes attr)
          Deprecated.  
 String text()
          Deprecated.  
 String toString()
          Deprecated.  
 
Methods inherited from class org.apache.cocoon.transformation.helpers.NOPRecorder
comment, endCDATA, endDocument, endDTD, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDocument, startDTD, startEntity, startPrefixMapping
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MirrorRecorder

public MirrorRecorder()
Deprecated. 

MirrorRecorder

public MirrorRecorder(Node n)
Deprecated. 

MirrorRecorder

public MirrorRecorder(MirrorRecorder n)
Deprecated. 
Method Detail

clone

public Object clone()
Deprecated. 
Specified by:
clone in interface EventRecorder
Overrides:
clone in class Object

startElement

public void startElement(String namespace,
                         String name,
                         String raw,
                         Attributes attr)
                  throws SAXException
Deprecated. 
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class NOPRecorder
Throws:
SAXException

endElement

public void endElement(String namespace,
                       String name,
                       String raw)
                throws SAXException
Deprecated. 
Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class NOPRecorder
Throws:
SAXException

characters

public void characters(char[] ary,
                       int start,
                       int length)
                throws SAXException
Deprecated. 
Specified by:
characters in interface ContentHandler
Overrides:
characters in class NOPRecorder
Throws:
SAXException

characters

public void characters(String tmp)
                throws SAXException
Deprecated. 
Throws:
SAXException

send

public void send(ContentHandler handler)
          throws SAXException
Deprecated. 
Specified by:
send in interface EventRecorder
Throws:
SAXException

send

public void send(ContentHandler handler,
                 Map params)
          throws SAXException
Deprecated. 
Throws:
SAXException

text

public String text()
Deprecated. 

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object

recycle

public void recycle()
Deprecated. 

empty

public boolean empty()
Deprecated. 


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.