Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
ONIXParserDOMHandler Class Reference
Inheritance diagram for ONIXParserDOMHandler:
XMLParserDOMHandler XMLParserHandler

Public Member Functions

 characterData ($parser, $data)
 endElement ($parser, $tag)
 getResult ()
 ONIXParserDOMHandler ($listName)
- Public Member Functions inherited from XMLParserDOMHandler
 characterData ($parser, $data)
 endElement ($parser, $tag)
 getResult ()
 startElement ($parser, $tag, $attributes)
 XMLParserHandler ()
- Public Member Functions inherited from XMLParserHandler
 characterData ($parser, $data)
 endElement ($parser, $tag)
 getResult ()
 startElement ($parser, $tag, $attributes)

Public Attributes

 $_currentValue = null
 $_foundRequestedList = false
 $_insideDocumentation = false
 $_listItems = null
 $_listName = null
- Public Attributes inherited from XMLParserDOMHandler

Detailed Description

This parser extracts a specific xs:simpleType based on a name attribute representing a code list within it. It returns the xs:enumeration values within it along with the xs:documentation elements which serve as textual descriptions of the Codelist values.

See Also

Example: <xs:simpleType name="List30">...</xs:simpleType>

Definition at line 25 of file

Member Function Documentation

ONIXParserDOMHandler::characterData (   $parser,

Callback function to act as the character data handler.

Definition at line 89 of file

References $_currentValue.

ONIXParserDOMHandler::endElement (   $parser,

Callback function to act as the end element handler.

Definition at line 98 of file

ONIXParserDOMHandler::getResult ( )

Returns the array of found list items


Definition at line 114 of file

ONIXParserDOMHandler::ONIXParserDOMHandler (   $listName)


Definition at line 45 of file

Member Data Documentation

ONIXParserDOMHandler::$_currentValue = null

to store the current character data

Definition at line 37 of file

Referenced by characterData().

ONIXParserDOMHandler::$_foundRequestedList = false

to maintain state

Definition at line 31 of file

ONIXParserDOMHandler::$_insideDocumentation = false

currently inside an xs:documentation element

Definition at line 40 of file

ONIXParserDOMHandler::$_listItems = null

of items the parser eventually returns

Definition at line 34 of file

ONIXParserDOMHandler::$_listName = null

the list being searched for

Definition at line 28 of file

The documentation for this class was generated from the following file: