com.sun.xml.bind.v2.runtime.unmarshaller
Class StAXConnector
java.lang.Object
com.sun.xml.bind.v2.runtime.unmarshaller.StAXConnector
- Direct Known Subclasses:
- StAXEventConnector, StAXStreamConnector
abstract class StAXConnector
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
visitor
protected final XmlVisitor visitor
context
protected final UnmarshallingContext context
predictor
protected final XmlVisitor.TextPredictor predictor
tagName
protected final TagName tagName
StAXConnector
protected StAXConnector(XmlVisitor visitor)
bridge
public abstract void bridge()
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
getCurrentLocation
protected abstract javax.xml.stream.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.
handleStartDocument
protected final void handleStartDocument(NamespaceContext nsc)
throws SAXException
- Throws:
SAXException
handleEndDocument
protected final void handleEndDocument()
throws SAXException
- Throws:
SAXException
fixNull
protected static String fixNull(String s)
getQName
protected final String getQName(String prefix,
String localName)