com.sun.msv.reader.datatype.xsd

Class RestrictionState

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

XSTypeIncubator
getIncubator()
gets an incubator object that the owner holds.
void
onEndChild(XSDatatypeExp child)
receives a Pattern object that is contained in this element.

Methods inherited from class com.sun.msv.reader.datatype.xsd.TypeWithOneChildState

onEndChild

Methods inherited from class com.sun.msv.reader.datatype.xsd.TypeState

endSelf, getTargetNamespaceUri, startElement

Methods inherited from class com.sun.msv.reader.SimpleState

endDocument, endElement, startElement

Methods inherited from class com.sun.msv.reader.State

_assert, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping

Method Details

getIncubator

public final XSTypeIncubator getIncubator()
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
Overrides:
onEndChild in interface com.sun.msv.reader.datatype.xsd.TypeWithOneChildState