INRIA & FluxMedia

fr.fluxmedia.transmorpher.TProcessFactory
Class OneMixer

java.lang.Object
  |
  +--fr.fluxmedia.transmorpher.TProcessFactory.OneMixer
All Implemented Interfaces:
ContentHandler, ContentHandler_Commands

public final class OneMixer
extends Object
implements ContentHandler, ContentHandler_Commands


Field Summary
(package private)  ContentHandlerInfoStack iCHSI
          the stack of content handler info
(package private)  ContentHandler iContentHandler
          the content handler
(package private)  OneMixerHandler iOwner
          the manager
(package private)  boolean isCurrent
          true if the content handler is the current one
(package private)  boolean isDone
          true if the mixer is finished
(package private)  int rank
          parenthesis rank
 
Fields inherited from interface fr.fluxmedia.transmorpher.TProcessFactory.ContentHandler_Commands
CHARACTERS, ContentHandlerInfo2String, END_DOCUMENT, END_ELEMENT, END_PREFIX_MAPPING, IGNORABLE_WHITESPACE, PROCESSING_INSTRUCTION, SET_DOCUMENT_LOCATOR, SKIPPED_ENTITY, START_DOCUMENT, START_ELEMENT, START_PREFIX_MAPPING
 
Constructor Summary
OneMixer(OneMixerHandler pOwner)
          the constructor
 
Method Summary
 void characters(char[] ch, int start, int length)
          The characters command
 void ComputeStack()
          Compute the stack of contentHandlerInfo
 void endDocument()
          The endElement command
 void endElement(String ns, String localName, String name)
          The endElement command
 void endPrefixMapping(String prefix)
          The endPrefixMapping command
protected  void ExecuteContentHandlerInfo(ContentHandlerInfo current)
          Execute one ContentHandlerInfo in the stack
 ContentHandler getContentHandler()
          get the content handler for this element
 ContentHandlerInfoStack getContentHandlerInfoStack()
           
 void ignorableWhitespace(char[] ch, int start, int length)
          The ignorableWhitespace command
 boolean isCurrent()
          test if the mixer is the current mixer
 boolean isDone()
          Test if the mixer is done
 void processingInstruction(String target, String data)
          The processingInstruction command
 void setContentHandler(ContentHandler pContentHandler)
          Set the content handler for this element
 void setCurrent(boolean pCurrent)
          set the curent attribut
 void setDocumentLocator(Locator locator)
          The endElement command
 void setDone(boolean pDone)
          Set the done attribute
 void skippedEntity(String name)
          The skippedEntity command
 void startDocument()
          The endElement command
 void startElement(String ns, String localName, String name, Attributes atts)
          The startElement command
 void startPrefixMapping(String prefix, String uri)
          The startPrefixMapping command
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

iCHSI

ContentHandlerInfoStack iCHSI
the stack of content handler info

isCurrent

boolean isCurrent
true if the content handler is the current one

isDone

boolean isDone
true if the mixer is finished

iOwner

OneMixerHandler iOwner
the manager

rank

int rank
parenthesis rank

iContentHandler

ContentHandler iContentHandler
the content handler
Constructor Detail

OneMixer

public OneMixer(OneMixerHandler pOwner)
the constructor
Method Detail

setContentHandler

public final void setContentHandler(ContentHandler pContentHandler)
Set the content handler for this element

getContentHandler

public final ContentHandler getContentHandler()
get the content handler for this element

getContentHandlerInfoStack

public final ContentHandlerInfoStack getContentHandlerInfoStack()

startElement

public final void startElement(String ns,
                               String localName,
                               String name,
                               Attributes atts)
                        throws SAXException
The startElement command
Specified by:
startElement in interface ContentHandler

endElement

public final void endElement(String ns,
                             String localName,
                             String name)
                      throws SAXException
The endElement command
Specified by:
endElement in interface ContentHandler

startDocument

public final void startDocument()
                         throws SAXException
The endElement command
Specified by:
startDocument in interface ContentHandler

setDocumentLocator

public final void setDocumentLocator(Locator locator)
The endElement command
Specified by:
setDocumentLocator in interface ContentHandler

endDocument

public final void endDocument()
                       throws SAXException
The endElement command
Specified by:
endDocument in interface ContentHandler

skippedEntity

public final void skippedEntity(String name)
                         throws SAXException
The skippedEntity command
Specified by:
skippedEntity in interface ContentHandler

processingInstruction

public final void processingInstruction(String target,
                                        String data)
                                 throws SAXException
The processingInstruction command
Specified by:
processingInstruction in interface ContentHandler

ignorableWhitespace

public final void ignorableWhitespace(char[] ch,
                                      int start,
                                      int length)
                               throws SAXException
The ignorableWhitespace command
Specified by:
ignorableWhitespace in interface ContentHandler

characters

public final void characters(char[] ch,
                             int start,
                             int length)
                      throws SAXException
The characters command
Specified by:
characters in interface ContentHandler

startPrefixMapping

public final void startPrefixMapping(String prefix,
                                     String uri)
                              throws SAXException
The startPrefixMapping command
Specified by:
startPrefixMapping in interface ContentHandler

endPrefixMapping

public final void endPrefixMapping(String prefix)
                            throws SAXException
The endPrefixMapping command
Specified by:
endPrefixMapping in interface ContentHandler

setCurrent

public final void setCurrent(boolean pCurrent)
set the curent attribut

setDone

public final void setDone(boolean pDone)
Set the done attribute

isDone

public final boolean isDone()
Test if the mixer is done

isCurrent

public final boolean isCurrent()
test if the mixer is the current mixer

ComputeStack

public final void ComputeStack()
                        throws SAXException
Compute the stack of contentHandlerInfo

ExecuteContentHandlerInfo

protected final void ExecuteContentHandlerInfo(ContentHandlerInfo current)
                                        throws SAXException
Execute one ContentHandlerInfo in the stack

INRIA & FluxMedia

..no bottom yet...