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 java.lang.Object
|
Method Summary |
abstract void |
bridge()
|
protected static java.lang.String |
fixNull(java.lang.String s)
|
protected abstract javax.xml.stream.Location |
getCurrentLocation()
Gets the Location. |
protected abstract java.lang.String |
getCurrentQName()
Gets the QName of the current element. |
protected java.lang.String |
getQName(java.lang.String prefix,
java.lang.String localName)
|
protected void |
handleEndDocument()
|
protected void |
handleStartDocument(javax.xml.namespace.NamespaceContext nsc)
|
| 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 java.lang.String getCurrentQName()
- Gets the QName of the current element.
handleStartDocument
protected final void handleStartDocument(javax.xml.namespace.NamespaceContext nsc)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
handleEndDocument
protected final void handleEndDocument()
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
fixNull
protected static java.lang.String fixNull(java.lang.String s)
getQName
protected final java.lang.String getQName(java.lang.String prefix,
java.lang.String localName)