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, warningprivate 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 ContentHandlerstartElement in class DefaultHandlerSAXExceptionprivate void startHeaderSegment(String seg, Attributes atts) throws IOException
IOExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic void characters(char[] cbuf, int start, int length) throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerSAXExceptionprivate void escape(int delimIndex) throws IOException
IOExceptionCopyright © 2017 dcm4che.org. All rights reserved.