Modifier and Type | Field and Description |
---|---|
private LexicalHandler | |
private ContentHandler | |
private SAXImpl | |
private String | |
private final XMLEventReader | |
private String |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
private void | |
private Attributes | Returns: the StAX attributes converted to an org.xml.sax.AttributesGet the attributes associated with the given START_ELEMENT StAXevent. |
public int | getColumnNumber()
Implements org. This class is only used internally so this method should never be called. |
public ContentHandler | getContentHandler()
Implements org. Return the current content handler. |
public DTDHandler | getDTDHandler()
Implements org. This class is only used internally so this method should never be called. |
public EntityResolver | getEntityResolver()
Implements org. This class is only used internally so this method should never be called. |
public ErrorHandler | getErrorHandler()
Implements org. This class is only used internally so this method should never be called. |
public boolean | getFeature(String
The feature name, which is a fully-qualified URI. name)Implements org. This class is only used internally so this method should never be called. |
public int | getLineNumber()
Implements org. This class is only used internally so this method should never be called. |
public Object | getProperty(String
The property name, which is a fully-qualified URI. name)Implements org. This class is only used internally so this method should never be called. |
public String | getPublicId()
Implements org. This class is only used internally so this method should never be called. |
public String | getSystemId()
Implements org. This class is only used internally so this method should never be called. |
private void | |
private void | |
private void | |
private void | |
private void | |
private void | |
private void | |
private void | |
private void | |
private void | |
private void | |
private void | |
private void | |
private void | |
private void | |
public void | parse(InputSource
The input source for the top-level of the
XML document. unused)Implements org. Parse an XML document. |
public void | |
public void | parse(String
The system identifier (URI). sysId)Implements org. This class is only used internally so this method should never be called. |
public void | setContentHandler(ContentHandler
The content handler. handler)Implements org. Allow an application to register a content event handler. |
public void | setDTDHandler(DTDHandler
The DTD handler. handler)Implements org. This class is only used internally so this method should never be called. |
public void | setEntityResolver(EntityResolver
The entity resolver. resolver)Implements org. This class is only used internally so this method should never be called. |
public void | setErrorHandler(ErrorHandler
The error handler. handler)Implements org. This class is only used internally so this method should never be called. |
public void | setFeature(String
The feature name, which is a fully-qualified URI. name, boolean The requested value of the feature (true or false). value)Implements org. This class is only used internally so this method should never be called. |
public void | setProperty(String
The property name, which is a fully-qualified URI. name, Object The requested value for the property. value)Implements org. This class is only used internally so this method should never be called. |
_lex | back to summary |
---|---|
private LexicalHandler _lex |
_sax | back to summary |
---|---|
private ContentHandler _sax |
_saxImpl | back to summary |
---|---|
private SAXImpl _saxImpl |
encoding | back to summary |
---|---|
private String encoding |
staxEventReader | back to summary |
---|---|
private final XMLEventReader staxEventReader |
version | back to summary |
---|---|
private String version |
StAXEvent2SAX | back to summary |
---|---|
public StAXEvent2SAX(XMLEventReader staxCore) |
bridge | back to summary |
---|---|
private void bridge() throws XMLStreamException |
getAttributes | back to summary |
---|---|
private Attributes getAttributes(StartElement event) Get the attributes associated with the given START_ELEMENT StAXevent.
|
getColumnNumber | back to summary |
---|---|
public int getColumnNumber() Implements org. This class is only used internally so this method should never be called.
|
getContentHandler | back to summary |
---|---|
public ContentHandler getContentHandler() Implements org. Doc from org. Return the current content handler.
|
getDTDHandler | back to summary |
---|---|
public DTDHandler getDTDHandler() Implements org. This class is only used internally so this method should never be called.
|
getEntityResolver | back to summary |
---|---|
public EntityResolver getEntityResolver() Implements org. This class is only used internally so this method should never be called.
|
getErrorHandler | back to summary |
---|---|
public ErrorHandler getErrorHandler() Implements org. This class is only used internally so this method should never be called.
|
getFeature | back to summary |
---|---|
public boolean getFeature(String name) throws SAXNotRecognizedException, SAXNotSupportedException Implements org. This class is only used internally so this method should never be called.
|
getLineNumber | back to summary |
---|---|
public int getLineNumber() Implements org. This class is only used internally so this method should never be called.
|
getProperty | back to summary |
---|---|
public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException Implements org. This class is only used internally so this method should never be called.
|
getPublicId | back to summary |
---|---|
public String getPublicId() Implements org. This class is only used internally so this method should never be called.
|
getSystemId | back to summary |
---|---|
public String getSystemId() Implements org. This class is only used internally so this method should never be called.
|
handleAttribute | back to summary |
---|---|
private void handleAttribute() |
handleCDATA | back to summary |
---|---|
private void handleCDATA() |
handleCharacters | back to summary |
---|---|
private void handleCharacters(Characters event) throws XMLStreamException |
handleComment | back to summary |
---|---|
private void handleComment() |
handleDTD | back to summary |
---|---|
private void handleDTD() |
handleEndDocument | back to summary |
---|---|
private void handleEndDocument() throws SAXException |
handleEndElement | back to summary |
---|---|
private void handleEndElement(EndElement event) throws XMLStreamException |
handleEntityDecl | back to summary |
---|---|
private void handleEntityDecl() |
handleEntityReference | back to summary |
---|---|
private void handleEntityReference() |
handleNamespace | back to summary |
---|---|
private void handleNamespace() |
handleNotationDecl | back to summary |
---|---|
private void handleNotationDecl() |
handlePI | back to summary |
---|---|
private void handlePI(ProcessingInstruction event) throws XMLStreamException |
handleSpace | back to summary |
---|---|
private void handleSpace() |
handleStartDocument | back to summary |
---|---|
private void handleStartDocument(final XMLEvent event) throws SAXException |
handleStartElement | back to summary |
---|---|
private void handleStartElement(StartElement event) throws XMLStreamException |
parse | back to summary |
---|---|
public void parse(InputSource unused) throws IOException, SAXException Implements org. Doc from org. Parse an XML document. The application can use this method to instruct the XML reader to begin parsing an XML document from any valid input source (a character stream, a byte stream, or a URI). Applications may not invoke this method while a parse is in progress (they should create a new XMLReader instead for each nested XML document). Once a parse is complete, an application may reuse the same XMLReader object, possibly with a different input source. Configuration of the XMLReader object (such as handler bindings and values established for feature flags and properties) is unchanged by completion of a parse, unless the definition of that aspect of the configuration explicitly specifies other behavior. (For example, feature flags or properties exposing characteristics of the document being parsed.) During the parse, the XMLReader will provide information about the XML document through the registered event handlers. This method is synchronous: it will not return until parsing has ended. If a client application wants to terminate parsing early, it should throw an exception.
|
parse | back to summary |
---|---|
public void parse() throws IOException, SAXException, XMLStreamException |
parse | back to summary |
---|---|
public void parse(String sysId) throws IOException, SAXException Implements org. This class is only used internally so this method should never be called.
|
setContentHandler | back to summary |
---|---|
public void setContentHandler(ContentHandler handler) throws NullPointerException Implements org. Doc from org. Allow an application to register a content event handler. If the application does not register a content handler, all content events reported by the SAX parser will be silently ignored. Applications may register a new or different handler in the middle of a parse, and the SAX parser must begin using the new handler immediately.
|
setDTDHandler | back to summary |
---|---|
public void setDTDHandler(DTDHandler handler) throws NullPointerException Implements org. This class is only used internally so this method should never be called.
|
setEntityResolver | back to summary |
---|---|
public void setEntityResolver(EntityResolver resolver) throws NullPointerException Implements org. This class is only used internally so this method should never be called.
|
setErrorHandler | back to summary |
---|---|
public void setErrorHandler(ErrorHandler handler) throws NullPointerException Implements org. This class is only used internally so this method should never be called.
|
setFeature | back to summary |
---|---|
public void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException Implements org. This class is only used internally so this method should never be called.
|
setProperty | back to summary |
---|---|
public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException Implements org. This class is only used internally so this method should never be called.
|