VersionControl_SVN
[ class tree: VersionControl_SVN ] [ index: VersionControl_SVN ] [ all elements ]

Class: VersionControl_SVN_Parser_XML

Source Location: /VersionControl_SVN-0.5.2/VersionControl/SVN/Parser/XML.php

Class Overview


Class VersionControl_SVN_Parser_Info - XML Parser for Subversion Info output


Author(s):

Version:

  • 0.5.2

Variables

Methods


Child classes:

VersionControl_SVN_Parser_XML_Log
Class VersionControl_SVN_Parser_Log - XML Parser for Subversion Log output
VersionControl_SVN_Parser_XML_List
Class VersionControl_SVN_Parser_List - XML Parser for Subversion List output
VersionControl_SVN_Parser_XML_Info
Class VersionControl_SVN_Parser_Info - XML Parser for Subversion Info output
VersionControl_SVN_Parser_XML_Status
Class VersionControl_SVN_Parser_Status - XML Parser for Subversion Status output

Inherited Variables

Inherited Methods


Class Details

[line 63]
Class VersionControl_SVN_Parser_Info - XML Parser for Subversion Info output


[ Top ]


Class Variables

$xmlPathConfig = array()

[line 68]

  • Var: The XML configuration (like a DTD).
  • Access: protected

Type:   array


[ Top ]



Method Detail

getParsed   [line 78]

array getParsed( string $xml)

Parses given xml by xmlPathConfig of this class.
  • Return: The processed xml as array.
  • Throws: VersionControl_SVN_Parser_Exception If XML isn't parseable.
  • Access: public

Parameters:

string   $xml     The XML as string.

[ Top ]

getParsedBody   [line 103]

array getParsedBody( $reader, $xmlPathConfig)

Function to read out the xml body element.
  • Return: The data parsed from XML
  • Throws: VersionControl_SVN_Parser_Exception If XML doesn't match config.
  • Access: protected

Parameters:

XMLReader   $reader     Instance of the XMLReader.
array   $xmlPathConfig     Configuration for this XML file.

[ Top ]

getParsedElement   [line 180]

array getParsedElement( $reader, string $xmlEntry, $xmlPathConfig)

Function to read out the xml element.
  • Return: The data parsed from XML
  • Throws: VersionControl_SVN_Parser_Exception If XML doesn't match config.
  • Access: protected

Parameters:

XMLReader   $reader     Instance of the XMLReader.
string   $xmlEntry     Name of the entry.
array   $xmlPathConfig     Configuration for this XML file.

[ Top ]

getParsedEntry   [line 131]

array getParsedEntry( $reader, string $xmlEntry, $xmlPathConfig)

Function to read out the xml entry element.
  • Return: The data parsed from XML
  • Throws: VersionControl_SVN_Parser_Exception If XML doesn't match config.
  • Access: protected

Parameters:

XMLReader   $reader     Instance of the XMLReader.
string   $xmlEntry     Name of the entry.
array   $xmlPathConfig     Configuration for this XML file.

[ Top ]

getParsedString   [line 223]

string getParsedString( $reader, string $xmlEntry)

Function to read out a string from a XML entry.
  • Return: The string which should be read.
  • Throws: VersionControl_SVN_Parser_Exception If XML doesn't match config.
  • Access: protected

Parameters:

XMLReader   $reader     Instance of the XMLReader.
string   $xmlEntry     Name of the entry.

[ Top ]

parseBlindEntry   [line 261]

void parseBlindEntry( $reader, string $xmlEntry)

Function to read out all XML entries, which aren't configured.
  • Throws: VersionControl_SVN_Parser_Exception If XML doesn't match config.
  • Access: protected

Parameters:

XMLReader   $reader     Instance of the XMLReader.
string   $xmlEntry     Name of the entry.

[ Top ]


Documentation generated on Mon, 29 Sep 2014 09:00:09 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.