Top Description Fields Constructors Methods
com.sun.msv.reader.relax.core

public Class InlineElementState

extends ExpressionState
implements FacetStateParent
Class Inheritance
All Implemented Interfaces
com.sun.msv.reader.datatype.xsd.FacetStateParent
Imports
org.relaxng.datatype.DatatypeException, com.sun.msv.grammar.Expression, .SimpleNameClass, com.sun.msv.grammar.relax.AttPoolClause, .ElementRule, .TagClause, com.sun.msv.reader.ExpressionState, .State, com.sun.msv.reader.datatype.xsd.FacetStateParent, .XSTypeIncubator, com.sun.msv.util.StartTagInfo

parses <element> element.
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
protected XSTypeIncubator
incubator

this field is set to null if this element has label attribute.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected State
createChildState(StartTagInfo tag)

Implements abstract com.sun.msv.reader.SimpleState.createChildState.

creates appropriate child state object for this element
public XSTypeIncubator
getIncubator()

Implements com.sun.msv.reader.datatype.xsd.FacetStateParent.getIncubator.

gets an incubator object that the owner holds.
protected Expression
makeExpression()

Implements abstract com.sun.msv.reader.ExpressionState.makeExpression.

This method is called from endElement method.
protected void
startSelf()

Overrides com.sun.msv.reader.State.startSelf.

performs a task that should be done before reading any child elements.
Inherited from com.sun.msv.reader.ExpressionState:
endSelf

Field Detail

incubatorback to summary
protected XSTypeIncubator incubator

this field is set to null if this element has label attribute.

Constructor Detail

InlineElementStateback to summary
public InlineElementState()

Method Detail

createChildStateback to summary
protected State createChildState(StartTagInfo tag)

Implements abstract com.sun.msv.reader.SimpleState.createChildState.

Doc from com.sun.msv.reader.SimpleState.createChildState.

creates appropriate child state object for this element

getIncubatorback to summary
public XSTypeIncubator getIncubator()

Implements com.sun.msv.reader.datatype.xsd.FacetStateParent.getIncubator.

Doc from com.sun.msv.reader.datatype.xsd.FacetStateParent.getIncubator.

gets an incubator object that the owner holds.

makeExpressionback to summary
protected Expression makeExpression()

Implements abstract com.sun.msv.reader.ExpressionState.makeExpression.

Doc from com.sun.msv.reader.ExpressionState.makeExpression.

This method is called from endElement method. Implementation has to provide Expression object that represents the content of this element.

startSelfback to summary
protected void startSelf()

Overrides com.sun.msv.reader.State.startSelf.

Doc from com.sun.msv.reader.State.startSelf.

performs a task that should be done before reading any child elements. derived-class can safely read startTag and/or parentState values.