Modifier and Type | Field and Description |
---|---|
private AttributesImpl |
atts |
private ContentHandler |
ch |
private String |
delimiters |
private String |
namespace |
private static String |
NAMESPACE |
private EnumSet<Delimiter> |
open |
Constructor and Description |
---|
HL7Parser(ContentHandler ch) |
Modifier and Type | Method and Description |
---|---|
private void |
addAttribute(String name,
String value) |
private Delimiter |
delimiter(String tk) |
private void |
endDocument() |
private void |
endElement(Delimiter delimiter) |
private void |
endElement(String name) |
private int |
escapeIndex(String tk) |
private boolean |
isHeaderSegment(String line) |
boolean |
isIncludeNamespaceDeclaration() |
void |
parse(BufferedReader reader) |
void |
parse(Reader reader) |
private void |
setDelimiters(String delimiters) |
void |
setIncludeNamespaceDeclaration(boolean includeNameSpaceDeclaration) |
private void |
startDocument() |
private void |
startElement(Delimiter d) |
private void |
startElement(String name) |
private String[] |
tokenize(String s) |
private static final String NAMESPACE
private final ContentHandler ch
private final AttributesImpl atts
private String delimiters
public HL7Parser(ContentHandler ch)
public final boolean isIncludeNamespaceDeclaration()
public final void setIncludeNamespaceDeclaration(boolean includeNameSpaceDeclaration)
public void parse(Reader reader) throws IOException, SAXException
IOException
SAXException
public void parse(BufferedReader reader) throws IOException, SAXException
IOException
SAXException
private boolean isHeaderSegment(String line)
private void startDocument() throws SAXException
SAXException
private void endDocument() throws SAXException
SAXException
private void setDelimiters(String delimiters)
private void addAttribute(String name, String value)
private int escapeIndex(String tk)
private void startElement(Delimiter d) throws SAXException
SAXException
private void startElement(String name) throws SAXException
SAXException
private void endElement(Delimiter delimiter) throws SAXException
SAXException
private void endElement(String name) throws SAXException
SAXException
Copyright © 2017 dcm4che.org. All rights reserved.