com.sun.msv.reader.datatype.xsd
Class ListState

java.lang.Object
  extended by com.sun.msv.reader.State
      extended by com.sun.msv.reader.SimpleState
          extended by com.sun.msv.reader.datatype.xsd.ListState
All Implemented Interfaces:
XSTypeOwner, ContentHandler

public class ListState
extends SimpleState

state that parses <list> element of XSD.

Author:
Kohsuke KAWAGUCHI

Field Summary
 
Fields inherited from class com.sun.msv.reader.State
reader
 
Method Summary
 void endSelf()
          this method is called in endElement method when the state is about to be removed.
 String getTargetNamespaceUri()
           
 void onEndChild(XSDatatypeExp child)
          receives a Pattern object that is contained in this element.
 void startElement(String namespaceURI, String localName, String qName, Attributes atts)
           
 
Methods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement
 
Methods inherited from class com.sun.msv.reader.State
_assert, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.msv.reader.datatype.xsd.XSTypeOwner
getTargetNamespaceUri
 

Method Detail

onEndChild

public void onEndChild(XSDatatypeExp child)
receives a Pattern object that is contained in this element.

Specified by:
onEndChild in interface XSTypeOwner

getTargetNamespaceUri

public final String getTargetNamespaceUri()

endSelf

public 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


startElement

public final void startElement(String namespaceURI,
                               String localName,
                               String qName,
                               Attributes atts)
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class SimpleState