com.sun.xml.bind.v2.runtime.unmarshaller

Class StAXConnector

abstract class StAXConnector extends Object

Field Summary
protected UnmarshallingContextcontext
protected XmlVisitor.TextPredictorpredictor
protected TagNametagName
protected XmlVisitorvisitor
Constructor Summary
protected StAXConnector(XmlVisitor visitor)
Method Summary
abstract voidbridge()
protected static StringfixNull(String s)
protected abstract LocationgetCurrentLocation()
Gets the Location.
protected abstract StringgetCurrentQName()
Gets the QName of the current element.
protected StringgetQName(String prefix, String localName)
protected voidhandleEndDocument()
protected voidhandleStartDocument(NamespaceContext nsc)

Field Detail

context

protected final UnmarshallingContext context

predictor

protected final XmlVisitor.TextPredictor predictor

tagName

protected final TagName tagName

visitor

protected final XmlVisitor visitor

Constructor Detail

StAXConnector

protected StAXConnector(XmlVisitor visitor)

Method Detail

bridge

public abstract void bridge()

fixNull

protected static String fixNull(String s)

getCurrentLocation

protected abstract Location getCurrentLocation()
Gets the Location. Used for implementing the line number information.

Returns: must not null.

getCurrentQName

protected abstract String getCurrentQName()
Gets the QName of the current element.

getQName

protected final String getQName(String prefix, String localName)

handleEndDocument

protected final void handleEndDocument()

handleStartDocument

protected final void handleStartDocument(NamespaceContext nsc)