public class HL7ContentHandler extends DefaultHandler
Modifier and Type | Field and Description |
---|---|
private char[] |
delimiters |
private char[] |
escape |
private boolean |
ignoreCharacters |
private Writer |
writer |
Constructor and Description |
---|
HL7ContentHandler(Writer writer) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] cbuf,
int start,
int length) |
void |
endElement(String uri,
String localName,
String qName) |
private void |
escape(int delimIndex) |
void |
startElement(String uri,
String localName,
String qName,
Attributes atts) |
private void |
startHeaderSegment(String seg,
Attributes atts) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
private char[] delimiters
private final char[] escape
private boolean ignoreCharacters
public HL7ContentHandler(Writer writer)
public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
private void startHeaderSegment(String seg, Attributes atts) throws IOException
IOException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public void characters(char[] cbuf, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class DefaultHandler
SAXException
private void escape(int delimIndex) throws IOException
IOException
Copyright © 2017 dcm4che.org. All rights reserved.