|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.msv.reader.State
com.sun.msv.reader.SimpleState
com.sun.msv.reader.datatype.xsd.ListState
public class ListState
state that parses <list> element of XSD.
Field Summary | |
---|---|
protected String |
newTypeName
|
protected String |
newTypeUri
|
protected XSDatatypeExp |
type
|
Fields inherited from class com.sun.msv.reader.State |
---|
baseURI, location, parentState, reader, startTag |
Constructor Summary | |
---|---|
protected |
ListState(String newTypeUri,
String newTypeName)
|
Method Summary | |
---|---|
protected XSDatatypeExp |
annealType(XSDatatypeExp itemType)
performs final wrap-up and returns a fully created DataType object that represents this element. |
protected State |
createChildState(StartTagInfo tag)
creates appropriate child state object for this element |
void |
endSelf()
this method is called in endElement method when the state is about to be removed. |
String |
getTargetNamespaceUri()
|
protected XSDatatypeExp |
makeType()
This method is called from endElement method. |
void |
onEndChild(XSDatatypeExp child)
receives a Pattern object that is contained in this element. |
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
|
protected void |
startSelf()
performs a task that should be done before reading any child elements. |
Methods inherited from class com.sun.msv.reader.SimpleState |
---|
endDocument, endElement, isGrammarElement |
Methods inherited from class com.sun.msv.reader.State |
---|
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.msv.reader.datatype.xsd.XSTypeOwner |
---|
getTargetNamespaceUri |
Field Detail |
---|
protected final String newTypeUri
protected final String newTypeName
protected XSDatatypeExp type
Constructor Detail |
---|
protected ListState(String newTypeUri, String newTypeName)
Method Detail |
---|
protected XSDatatypeExp annealType(XSDatatypeExp itemType) throws org.relaxng.datatype.DatatypeException
org.relaxng.datatype.DatatypeException
protected void startSelf()
State
startSelf
in class State
protected State createChildState(StartTagInfo tag)
SimpleState
createChildState
in class SimpleState
public void onEndChild(XSDatatypeExp child)
onEndChild
in interface XSTypeOwner
protected final XSDatatypeExp makeType() throws org.relaxng.datatype.DatatypeException
org.relaxng.datatype.DatatypeException
public final String getTargetNamespaceUri()
public void endSelf()
SimpleState
endSelf
in class SimpleState
public final void startElement(String namespaceURI, String localName, String qName, Attributes atts)
startElement
in interface ContentHandler
startElement
in class SimpleState
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |