EnsLib.HL7.Util.FormatSimpleXMLv2
class EnsLib.HL7.Util.FormatSimpleXMLv2 extends %XML.SAX.ContentHandler, EnsLib.EDI.IOFormatInterface
Schema-free XML import/export format for HL7 v2 messages Consists only of elementsProperty Inventory
Method Inventory
- ImportDocument()
- ImportSegment()
- OutputDocument()
- OutputDocumentEnd()
- OutputSegment()
- characters()
- endCDATA()
- endElement()
- endEntity()
- fault()
- faultStatus()
- startCDATA()
- startElement()
- startEntity()
Parameters
Properties
Methods
By default, do nothing. Application writers may override this method to take specific actions for each chunk of character data (such as adding the data to a node or buffer, or printing it to a file).
- chars: The characters.
- length: The number of characters to use from the character array.
The SAX parser will invoke this method at the end of each CDATA parsed.
Exceptions thrown: SAXException - Any SAX exception, possibly wrapping another exception.
/By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of each element (such as finalising a tree node or writing output to a file).
- uri: The URI of the associated namespace for this element
- localname: The local part of the element name
- qname: The QName of this element
The SAX parser will invoke this method at the end of an entity
- name: The name of the entity that is ending.
Exceptions thrown: SAXException - Any SAX exception, possibly wrapping another exception.
The SAX parser will invoke this method at the start of each CDATA parsed.
Exceptions thrown: SAXException - Any SAX exception, possibly wrapping another exception.
By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each element (such as allocating a new tree node or writin output to a file).
- uri: The URI of the associated namespace for this element
- localname: the local part of the element name
- qname: the QName of this element
- attrs: a list in $List format consisting of a repeating group of attributes.
The format of the repeating group is as follows:
- +0 - uri: The URI of the associated namespace for this attribute
- +1 - localname: The local part of the name of this attribute
- +2 - qname: The QName of this attribute
- +3 - type: The type of this attribute ("CDATA", NMTOKEN", "ENTITY", etc.)
- +4 - value: The value of this attribute
The SAX parser will invoke this method at the start of an entity
- name: The name of the entity that is starting.
Exceptions thrown: SAXException - Any SAX exception, possibly wrapping another exception.
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- LocatePosition()
- Mask()
- OnPostParse()
- PopHandler()
- PushHandler()
- comment()
- endDTD()
- endDocument()
- endPrefixMapping()
- error()
- fatalError()
- ignorableWhitespace()
- processingInstruction()
- skippedEntity()
- startDTD()
- startDocument()
- startPrefixMapping()
- warning()