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

java.lang.Object
  extended bycom.sun.msv.reader.State
      extended bycom.sun.msv.reader.SimpleState
          extended bycom.sun.msv.reader.datatype.xsd.TypeState
              extended bycom.sun.msv.reader.datatype.xsd.TypeWithOneChildState
                  extended bycom.sun.msv.reader.datatype.xsd.RestrictionState
All Implemented Interfaces:
ContentHandler, FacetStateParent, XSTypeOwner

public class RestrictionState
extends com.sun.msv.reader.datatype.xsd.TypeWithOneChildState
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()
           
 XSTypeIncubator getIncubator()
          gets an incubator object that the owner holds.
 String getTargetNamespaceUri()
          Returns the target namespace URI of newly created simple types.
 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)
Description copied from class: com.sun.msv.reader.datatype.xsd.TypeWithOneChildState
receives a Pattern object that is contained in this element.

Specified by:
onEndChild in interface XSTypeOwner

endSelf

public void endSelf()

getTargetNamespaceUri

public final String getTargetNamespaceUri()

startElement

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


Copyright © 2001-2003 Sun Microsystems, Inc. Documenation generated April 28 2005.