Top Description Constructors Methods
com.sun.msv.relaxns.reader

public Class GrammarState

extends SimpleState
Class Inheritance
Imports
com.sun.msv.reader.SimpleState, .State, com.sun.msv.util.StartTagInfo

parses <grammar> element.
Author
Kohsuke KAWAGUCHI

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
protected RELAXNSReader
getReader()

gets reader in type-safe fashion

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.SimpleState:
endDocumentendElementendSelfisGrammarElementstartElement

Constructor Detail

GrammarStateback to summary
public GrammarState()

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

getReaderback to summary
protected RELAXNSReader getReader()

gets reader in type-safe fashion

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.