interface XmlParserVisitorInterface

Methods

void
visitCharacterData(string $data, int $line, int $column)

visits character data

void
visitElementEnd(string $name, int $line, int $column)

visits the end of an element

void
visitElementStart(string $name, array $attributes, int $line, int $column)

visits the start of an element

void
visitNotationDeclaration(string $notationName, string $base, string $systemId, string $publicId, int $line, int $column)

visits a notation declaration

void
visitProcessingInstruction(string $target, string $data, int $line, int $column)

visits a processing instruction

void
visitUnparsedEntityDeclaration(string $entityName, string $base, string $systemId, string $publicId, string $notationName, int $line, int $column)

visits an unparsed entity declaration

Details

at line 39
void visitCharacterData(string $data, int $line, int $column)

visits character data

Parameters

string $data
int $line line number
int $column column number

Return Value

void

at line 30
void visitElementEnd(string $name, int $line, int $column)

visits the end of an element

Parameters

string $name contains the name of the element
int $line line number
int $column column number

Return Value

void

at line 21
void visitElementStart(string $name, array $attributes, int $line, int $column)

visits the start of an element

Parameters

string $name
array $attributes
int $line
int $column

Return Value

void

at line 61
void visitNotationDeclaration(string $notationName, string $base, string $systemId, string $publicId, int $line, int $column)

visits a notation declaration

Parameters

string $notationName the notations name
string $base
string $systemId system identifier of the external notation declaration
string $publicId public identifier of the external notation declaration
int $line line number
int $column column number

Return Value

void

at line 49
void visitProcessingInstruction(string $target, string $data, int $line, int $column)

visits a processing instruction

Parameters

string $target contains the PI target
string $data contains the PI data
int $line line number
int $column column number

Return Value

void

at line 81
void visitUnparsedEntityDeclaration(string $entityName, string $base, string $systemId, string $publicId, string $notationName, int $line, int $column)

visits an unparsed entity declaration

Parameters

string $entityName the name of the entity that is about to be defined
string $base
string $systemId system identifier for the external entity
string $publicId public identifier for the external entity
string $notationName name of the notation of this entity
int $line line number
int $column column number

Return Value

void