Package com.sun.msv.reader.relax.core
Class AttributeState
java.lang.Object
com.sun.msv.reader.State
com.sun.msv.reader.SimpleState
com.sun.msv.reader.ExpressionState
com.sun.msv.reader.relax.core.AttributeState
- All Implemented Interfaces:
FacetStateParent,ContentHandler
parses <attribute> element.
- Author:
- Kohsuke KAWAGUCHI
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Statecreates appropriate child state object for this elementgets an incubator object that the owner holds.protected ExpressionThis method is called from endElement method.protected voidperforms a task that should be done before reading any child elements.Methods inherited from class com.sun.msv.reader.ExpressionState
endSelfMethods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement, isGrammarElement, startElementMethods inherited from class com.sun.msv.reader.State
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMappingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
incubator
-
-
Constructor Details
-
AttributeState
public AttributeState()
-
-
Method Details
-
getIncubator
Description copied from interface:FacetStateParentgets an incubator object that the owner holds.- Specified by:
getIncubatorin interfaceFacetStateParent
-
startSelf
protected void startSelf()Description copied from class:Stateperforms a task that should be done before reading any child elements. derived-class can safely read startTag and/or parentState values. -
makeExpression
Description copied from class:ExpressionStateThis method is called from endElement method. Implementation has to provide Expression object that represents the content of this element.- Specified by:
makeExpressionin classExpressionState
-
createChildState
Description copied from class:SimpleStatecreates appropriate child state object for this element- Specified by:
createChildStatein classSimpleState
-