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

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.RestrictionState
All Implemented Interfaces:
FacetStateParent, XSTypeOwner, ContentHandler

public class RestrictionState
extends SimpleState
implements FacetStateParent

state that parses <restriction> element.

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.
 XSTypeIncubator getIncubator()
          gets an incubator object that the owner holds.
 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

getIncubator

public final XSTypeIncubator getIncubator()
Description copied from interface: FacetStateParent
gets an incubator object that the owner holds.

Specified by:
getIncubator in interface FacetStateParent

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