PHP Class WsdlToPhp\PackageGenerator\Parser\Wsdl\AbstractTagParser

Inheritance: extends AbstractParser
ファイルを表示 Open project: wsdltophp/packagegenerator

Public Methods

Method Description
getGenerator ( ) : Generator
getName ( ) : string

Protected Methods

Method Description
getMethodByName ( string $name ) : null | Method
getModel ( AbstractTag $tag ) : Struct | Method Return the model on which the method will be called
getParseTagAttributeMethod ( string $tagName ) : string
getStructByName ( string $name ) : null | Struct
parseSchema ( Wsdl $wsdl, Schema $schema ) Most of he time, this method is not used, even if it used, for now, knowing that we are in a schema is not a useful information, so we can simply parse the tag with only the wsdl as parameter
parseTagAttributeAbstract ( WsdlToPhp\PackageGenerator\DomHandler\AttributeHandler $tagAttribute, AbstractModel $model )
parseTagAttributeName ( ) Avoid this attribute to be added as meta
parseTagAttributeType ( WsdlToPhp\PackageGenerator\DomHandler\AttributeHandler $tagAttribute, AbstractModel $model, StructAttribute $structAttribute = null )
parseTagAttributeValue ( WsdlToPhp\PackageGenerator\DomHandler\AttributeHandler $tagAttribute, AbstractModel $model ) Enumeration does not need its own value as meta information, it's like the name for struct attribute
parseTagAttributes ( AbstractTag $tag, AbstractModel $model = null, StructAttribute $structAttribute = null )

Method Details

getGenerator() public method

public getGenerator ( ) : Generator
return WsdlToPhp\PackageGenerator\Generator\Generator

getMethodByName() protected method

protected getMethodByName ( string $name ) : null | Method
$name string
return null | WsdlToPhp\PackageGenerator\Model\Method

getModel() protected method

Return the model on which the method will be called
protected getModel ( AbstractTag $tag ) : Struct | Method
$tag WsdlToPhp\PackageGenerator\DomHandler\Wsdl\Tag\AbstractTag
return WsdlToPhp\PackageGenerator\Model\Struct | WsdlToPhp\PackageGenerator\Model\Method

getName() public method

See also: WsdlToPhp\PackageGenerator\Parser\AbstractParser::getName()
public getName ( ) : string
return string

getParseTagAttributeMethod() protected method

protected getParseTagAttributeMethod ( string $tagName ) : string
$tagName string
return string

getStructByName() protected method

protected getStructByName ( string $name ) : null | Struct
$name string
return null | WsdlToPhp\PackageGenerator\Model\Struct

parseSchema() protected method

Most of he time, this method is not used, even if it used, for now, knowing that we are in a schema is not a useful information, so we can simply parse the tag with only the wsdl as parameter
See also: WsdlToPhp\PackageGenerator\Parser\Wsdl\AbstractParser::parseSchema()
protected parseSchema ( Wsdl $wsdl, Schema $schema )
$wsdl WsdlToPhp\PackageGenerator\Model\Wsdl
$schema WsdlToPhp\PackageGenerator\Model\Schema

parseTagAttributeAbstract() protected method

protected parseTagAttributeAbstract ( WsdlToPhp\PackageGenerator\DomHandler\AttributeHandler $tagAttribute, AbstractModel $model )
$tagAttribute WsdlToPhp\PackageGenerator\DomHandler\AttributeHandler
$model WsdlToPhp\PackageGenerator\Model\AbstractModel

parseTagAttributeName() protected method

Avoid this attribute to be added as meta
protected parseTagAttributeName ( )

parseTagAttributeType() protected method

protected parseTagAttributeType ( WsdlToPhp\PackageGenerator\DomHandler\AttributeHandler $tagAttribute, AbstractModel $model, StructAttribute $structAttribute = null )
$tagAttribute WsdlToPhp\PackageGenerator\DomHandler\AttributeHandler
$model WsdlToPhp\PackageGenerator\Model\AbstractModel
$structAttribute WsdlToPhp\PackageGenerator\Model\StructAttribute

parseTagAttributeValue() protected method

Enumeration does not need its own value as meta information, it's like the name for struct attribute
protected parseTagAttributeValue ( WsdlToPhp\PackageGenerator\DomHandler\AttributeHandler $tagAttribute, AbstractModel $model )
$tagAttribute WsdlToPhp\PackageGenerator\DomHandler\AttributeHandler
$model WsdlToPhp\PackageGenerator\Model\AbstractModel

parseTagAttributes() protected method

protected parseTagAttributes ( AbstractTag $tag, AbstractModel $model = null, StructAttribute $structAttribute = null )
$tag WsdlToPhp\PackageGenerator\DomHandler\Wsdl\Tag\AbstractTag
$model WsdlToPhp\PackageGenerator\Model\AbstractModel
$structAttribute WsdlToPhp\PackageGenerator\Model\StructAttribute