com.sun.msv.reader.trex.ng
Class DataParamState

java.lang.Object
  extended by com.sun.msv.reader.State
      extended by com.sun.msv.reader.SimpleState
          extended by com.sun.msv.reader.ChildlessState
              extended by com.sun.msv.reader.trex.ng.DataParamState
All Implemented Interfaces:
ContentHandler

public class DataParamState
extends ChildlessState

parses <param> element inside <data> element.

Author:
Kohsuke KAWAGUCHI

Field Summary
protected  StringBuffer text
           
 
Fields inherited from class com.sun.msv.reader.State
baseURI, location, parentState, reader, startTag
 
Constructor Summary
DataParamState()
           
 
Method Summary
 void characters(char[] buf, int from, int len)
           
protected  void endSelf()
          this method is called in endElement method when the state is about to be removed.
 void ignorableWhitespace(char[] buf, int from, int len)
           
 
Methods inherited from class com.sun.msv.reader.ChildlessState
createChildState
 
Methods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement, isGrammarElement, startElement
 
Methods inherited from class com.sun.msv.reader.State
_assert, callInterceptExpression, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, startSelf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

text

protected final StringBuffer text
Constructor Detail

DataParamState

public DataParamState()
Method Detail

characters

public void characters(char[] buf,
                       int from,
                       int len)
Specified by:
characters in interface ContentHandler
Overrides:
characters in class State

ignorableWhitespace

public void ignorableWhitespace(char[] buf,
                                int from,
                                int len)
Specified by:
ignorableWhitespace in interface ContentHandler
Overrides:
ignorableWhitespace in class State

endSelf

protected void endSelf()
Description copied from class: SimpleState
this method is called in endElement method when the state is about to be removed. derived-class should perform any wrap-up job

Overrides:
endSelf in class SimpleState


MSV