An XML Catalog file parser. More...
Public Member Functions | |
Error (_.Library.String text) | |
Display an error message. | |
_.Library.Boolean | NextElement (_.Library.String element) |
Find and return the next element in the catalog More... | |
_.Library.String | NextToken () |
Return the next token from the InputStream. | |
_.Library.Status | Start (_.Library.String file) |
Begin parsing the given Catalog file. | |
UndoToken (_.Library.String token) | |
Put back a token into the input stream. | |
![]() | |
_.Library.Status | OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount) |
This callback method is invoked when the current object is added to the SaveSet,. More... | |
_.Library.Status | OnClose () |
This callback method is invoked by the <METHOD>Close</METHOD> method to. More... | |
_.Library.Status | OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned) |
This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More... | |
_.Library.Status | OnNew () |
This callback method is invoked by the <METHOD>New</METHOD> method to. More... | |
_.Library.Status | OnValidateObject () |
This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More... | |
Public Attributes | |
AtEnd | |
More... | |
BPos | |
More... | |
Buffer | |
More... | |
ColNo | |
More... | |
ErrorMsg | |
More... | |
InStream | |
More... | |
LastColNo | |
More... | |
LineNo | |
More... | |
UndoBuffer | |
holds the last "undone" token More... | |
Additional Inherited Members | |
![]() | |
CAPTION = None | |
Optional name used by the Form Wizard for a class when generating forms. More... | |
JAVATYPE = None | |
The Java type to be used when exported. | |
PROPERTYVALIDATION = None | |
This parameter controls the default validation behavior for the object. More... | |
This is used by the <CLASS>XML.Catalog</CLASS> class.
Use as follows:
Set parser = ##class(XML.CatalogParser).New() Set sc = parser.Start("\dbdtd\docbook.cat"),!
While (parser.NextElement(.el)) { // el will contain the values for this element // as subscripts }
_.Library.Boolean NextElement | ( | _.Library.String | element | ) |
Find and return the next element in the catalog
element returns the values of the element as subscripts.
AtEnd |
BPos |
Buffer |
ColNo |
ErrorMsg |
InStream |
LastColNo |
LineNo |
UndoBuffer |
holds the last "undone" token