ContentHandler
, LexicalHandler
public class SAXContentHandler extends Object implements ContentHandler, LexicalHandler
Constructor | Description |
---|---|
SAXContentHandler(boolean attachTypes,
ITreeNodeIdProvider nodeIdProvider) |
|
SAXContentHandler(boolean attachTypes,
ITreeNodeIdProvider nodeIdProvider,
org.apache.hyracks.api.comm.IFrameFieldAppender appender,
List<SequenceType> childSequenceTypes) |
Modifier and Type | Method | Description |
---|---|---|
void |
characters(char[] ch,
int start,
int length) |
|
void |
comment(char[] ch,
int start,
int length) |
|
void |
endCDATA() |
|
void |
endDocument() |
|
void |
endDTD() |
|
void |
endElement(String uri,
String localName,
String name) |
|
void |
endEntity(String name) |
|
void |
endPrefixMapping(String prefix) |
|
void |
ignorableWhitespace(char[] ch,
int start,
int length) |
|
void |
processingInstruction(String target,
String data) |
|
void |
setDocumentLocator(Locator locator) |
|
void |
setupElementWriter(org.apache.hyracks.api.comm.IFrameWriter writer,
int tupleIndex) |
|
void |
skippedEntity(String name) |
|
void |
startCDATA() |
|
void |
startDocument() |
|
void |
startDTD(String name,
String publicId,
String systemId) |
|
void |
startElement(String uri,
String localName,
String name,
Attributes atts) |
|
void |
startEntity(String name) |
|
void |
startPrefixMapping(String prefix,
String uri) |
|
void |
writeDocument(org.apache.hyracks.data.std.util.ArrayBackedValueStorage abvs) |
|
void |
writeElement() |
public SAXContentHandler(boolean attachTypes, ITreeNodeIdProvider nodeIdProvider)
public SAXContentHandler(boolean attachTypes, ITreeNodeIdProvider nodeIdProvider, org.apache.hyracks.api.comm.IFrameFieldAppender appender, List<SequenceType> childSequenceTypes)
public void setupElementWriter(org.apache.hyracks.api.comm.IFrameWriter writer, int tupleIndex)
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
SAXException
public void endElement(String uri, String localName, String name) throws SAXException
endElement
in interface ContentHandler
SAXException
public void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping
in interface ContentHandler
SAXException
public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException
ignorableWhitespace
in interface ContentHandler
SAXException
public void processingInstruction(String target, String data) throws SAXException
processingInstruction
in interface ContentHandler
SAXException
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface ContentHandler
public void skippedEntity(String name) throws SAXException
skippedEntity
in interface ContentHandler
SAXException
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
SAXException
public void startElement(String uri, String localName, String name, Attributes atts) throws SAXException
startElement
in interface ContentHandler
SAXException
public void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping
in interface ContentHandler
SAXException
public void comment(char[] ch, int start, int length) throws SAXException
comment
in interface LexicalHandler
SAXException
public void endCDATA() throws SAXException
endCDATA
in interface LexicalHandler
SAXException
public void endDTD() throws SAXException
endDTD
in interface LexicalHandler
SAXException
public void endEntity(String name) throws SAXException
endEntity
in interface LexicalHandler
SAXException
public void startCDATA() throws SAXException
startCDATA
in interface LexicalHandler
SAXException
public void startDTD(String name, String publicId, String systemId) throws SAXException
startDTD
in interface LexicalHandler
SAXException
public void startEntity(String name) throws SAXException
startEntity
in interface LexicalHandler
SAXException
public void writeElement() throws IOException
IOException
public void writeDocument(org.apache.hyracks.data.std.util.ArrayBackedValueStorage abvs) throws IOException
IOException
Copyright © 2019 Apache Software Foundation. All rights reserved.