class AbstractParser extends AbstractParser (View source)

Properties

protected Generator $generator
protected AbstractTag[] $tags
protected array $parsedWsdls List of Wsdl parsed for the current tag
protected array $parsedSchemas List of Schema parsed for the current tag

Methods

__construct(Generator $generator)

No description

string
getName()

No description

void
parse()

The method takes care of looping among WSDLS as much time as it is needed

parseWsdl(Wsdl $wsdl)

Actual parsing of the Wsdl

parseSchema(Wsdl $wsdl, Schema $schema)

Actual parsing of the Schema

string
parsingTag()

Must return the tag that will be parsed

setTags(array $tags)

No description

getTags()

No description

setWsdlAsParsed(Wsdl $wsdl)

No description

boolean
isWsdlParsed(Wsdl $wsdl)

No description

setSchemaAsParsed(Wsdl $wsdl, Schema $schema)

No description

boolean
isSchemaParsed(Wsdl $wsdl, Schema $schema)

No description

Details

__construct(Generator $generator)

Parameters

Generator $generator

protected AbstractGeneratorAware setGenerator(Generator $generator)

Parameters

Generator $generator

Return Value

AbstractGeneratorAware

Generator getGenerator()

Return Value

Generator

string getName()

Return Value

string

final void parse()

The method takes care of looping among WSDLS as much time as it is needed

Return Value

void

See also

\WsdlToPhp\PackageGenerator\Generator\ParserInterface::parse()

abstract protected parseWsdl(Wsdl $wsdl)

Actual parsing of the Wsdl

Parameters

Wsdl $wsdl

abstract protected parseSchema(Wsdl $wsdl, Schema $schema)

Actual parsing of the Schema

Parameters

Wsdl $wsdl
Schema $schema

abstract protected string parsingTag()

Must return the tag that will be parsed

Return Value

string

protected AbstractParser setTags(array $tags)

Parameters

array $tags

Return Value

AbstractParser

AbstractTag[] getTags()

Return Value

AbstractTag[]

protected AbstractParser setWsdlAsParsed(Wsdl $wsdl)

Parameters

Wsdl $wsdl

Return Value

AbstractParser

boolean isWsdlParsed(Wsdl $wsdl)

Parameters

Wsdl $wsdl

Return Value

boolean

protected AbstractParser setSchemaAsParsed(Wsdl $wsdl, Schema $schema)

Parameters

Wsdl $wsdl
Schema $schema

Return Value

AbstractParser

boolean isSchemaParsed(Wsdl $wsdl, Schema $schema)

Parameters

Wsdl $wsdl
Schema $schema

Return Value

boolean