Home > Class Reference > ENSLIB namespace > Ens.Util.XML.Reader

Ens.Util.XML.Reader

abstract class Ens.Util.XML.Reader

Methods

classmethod ChangeXMLEncoding(pString As %String, pEncoding As %String = "") as %String [ Language = objectscript ]
classmethod ChangeXMLStreamEncoding(pSource As %CharacterStream, pEncoding As %String = "", ByRef pTarget As %CharacterStream = "", Output pStatus) as %CharacterStream [ Language = objectscript ]
Copy from a stream containing an XML header to another stream with the XML header encoding label changed to the value given in pEncoding. Returns the output stream which if not supplied is created using the same stream class as the input stream. If no change to the encoding label results and if no output stream is supplied then the original input stream is returned as the output stream without copying.
classmethod ObjectFromFile(Output pObject As %RegisteredObject, pFilename As %String, pClassnames As %String, pResolver As %XML.SAX.EntityResolver = $$$NULLOREF) as %Status [ Language = objectscript ]
classmethod ObjectFromStream(Output pObject As %RegisteredObject, pStream As %BinaryStream, pClassnames As %String, pResolver As %XML.SAX.EntityResolver = $$$NULLOREF) as %Status [ Language = objectscript ]
classmethod ObjectFromString(Output pObject As %RegisteredObject, pString As %String, pClassnames As %String, pResolver As %XML.SAX.EntityResolver = $$$NULLOREF) as %Status [ Language = objectscript ]
classmethod ObjectFromXData(Output pObject As %RegisteredObject, pXDataHolderClassname As %String, pXDataName As %String, pClassnames As %String, pResolver As %XML.SAX.EntityResolver = $$$NULLOREF) as %Status [ Language = objectscript ]
classmethod ObjectsFromFile(Output pObjects As %ListOfObjects, pFilename As %String, pClassnames As %String, pResolver As %XML.SAX.EntityResolver = $$$NULLOREF) as %Status [ Language = objectscript ]
classmethod ObjectsFromStream(Output pObjects As %ListOfObjects, pStream As %BinaryStream, pClassnames As %String, pResolver As %XML.SAX.EntityResolver = $$$NULLOREF) as %Status [ Language = objectscript ]
classmethod ObjectsFromString(Output pObjects As %ListOfObjects, pString As %String, pClassnames As %String, pResolver As %XML.SAX.EntityResolver = $$$NULLOREF) as %Status [ Language = objectscript ]
classmethod ObjectsFromXData(Output pObjects As %ListOfObjects, pXDataHolderClassname As %String, pXDataName As %String, pClassnames As %String, pResolver As %XML.SAX.EntityResolver = $$$NULLOREF) as %Status [ Language = objectscript ]

Subclasses

Ens.Enterprise.MsgBank.TCPService EnsLib.TCP.CountedXMLInboundAdapter
Ens.Enterprise.MsgBankOperation EnsLib.TCP.CountedXMLOutboundAdapter