org.apache.ws.jaxme.impl
Class JMSAXMixedElementParser

java.lang.Object
  extended by org.apache.ws.jaxme.impl.JMSAXGroupParser
      extended by org.apache.ws.jaxme.impl.JMSAXElementParser
          extended by org.apache.ws.jaxme.impl.JMSAXMixedElementParser

public abstract class JMSAXMixedElementParser
extends JMSAXElementParser

A subclass of JMSAXElementParser for parsing complex elements.


Field Summary
 
Fields inherited from class org.apache.ws.jaxme.impl.JMSAXElementParser
result
 
Constructor Summary
JMSAXMixedElementParser()
           
 
Method Summary
 void addText(char[] pBuffer, int pOffset, int pLength)
          Used for adding textual context.
protected abstract  java.util.List getContentList()
           
protected  void normalize()
           
 
Methods inherited from class org.apache.ws.jaxme.impl.JMSAXElementParser
addAttribute, getEndLevel, getHandler, getLocalName, getNamespaceURI, init, isAtomic, isEmpty, setAttributes
 
Methods inherited from class org.apache.ws.jaxme.impl.JMSAXGroupParser
endElement, isFinished, isMixed, startElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSAXMixedElementParser

public JMSAXMixedElementParser()
Method Detail

getContentList

protected abstract java.util.List getContentList()

normalize

protected void normalize()

addText

public void addText(char[] pBuffer,
                    int pOffset,
                    int pLength)
Description copied from class: JMSAXGroupParser
Used for adding textual context. Valid only, if JMSAXGroupParser.isMixed() returns true.

Overrides:
addText in class JMSAXGroupParser
Parameters:
pBuffer - Character buffer, as specified by ContentHandler.characters(char[], int, int).
pOffset - Offset into buffer, as specified by ContentHandler.characters(char[], int, int).
pLength - Length of relevant buffer part, as specified by ContentHandler.characters(char[], int, int).