PHP Class WsdlToPhp\PackageGenerator\DomHandler\Wsdl\Tag\AbstractTag

Inheritance: extends WsdlToPhp\PackageGenerator\DomHandler\ElementHandler
Mostra file Open project: wsdltophp/packagegenerator Class Usage Examples

Public Methods

Method Description
getAttributeName ( ) : string
getAttributeRef ( ) : string
getChildrenByName ( $name ) : AbstractTag[]
getDomDocumentHandler ( ) : Wsdl | WsdlToPhp\PackageGenerator\DomHandler\Wsdl\Schema
getSuitableParent ( boolean $checkName = true, array $additionalTags = [], integer $maxDeep = self::MAX_DEEP, boolean $strict = false ) : null | AbstractNodeHandler | AbstractElementHandler | AbstractAttributeHandler | AbstractTag This method aims to get the parent element that matches a valid Wsdl element (aka struct)
getValueAttributeValue ( $withNamespace = false, $withinItsType = true, $asType = null ) : mixed
hasAttributeName ( ) : boolean
hasAttributeRef ( ) : boolean
hasAttributeValue ( ) : boolean

Protected Methods

Method Description
getStrictParent ( string $name, boolean $checkName = false ) : AbstractTag | null
getSuitableParentTags ( array $additionalTags = [] ) : string[] Suitable tags as parent

Method Details

getAttributeName() public method

public getAttributeName ( ) : string
return string

getAttributeRef() public method

public getAttributeRef ( ) : string
return string

getChildrenByName() public method

See also: WsdlToPhp\PackageGenerator\DomHandler\AbstractElementHandler::getChildrenByName()
public getChildrenByName ( $name ) : AbstractTag[]
return AbstractTag[]

getDomDocumentHandler() public method

public getDomDocumentHandler ( ) : Wsdl | WsdlToPhp\PackageGenerator\DomHandler\Wsdl\Schema
return WsdlToPhp\PackageGenerator\DomHandler\Wsdl\Wsdl | WsdlToPhp\PackageGenerator\DomHandler\Wsdl\Schema

getStrictParent() protected method

protected getStrictParent ( string $name, boolean $checkName = false ) : AbstractTag | null
$name string
$checkName boolean
return AbstractTag | null

getSuitableParent() public method

This method aims to get the parent element that matches a valid Wsdl element (aka struct)
public getSuitableParent ( boolean $checkName = true, array $additionalTags = [], integer $maxDeep = self::MAX_DEEP, boolean $strict = false ) : null | AbstractNodeHandler | AbstractElementHandler | AbstractAttributeHandler | AbstractTag
$checkName boolean whether to validate the attribute named "name" or not
$additionalTags array
$maxDeep integer
$strict boolean used by overridden methods to avoid infinite loop
return null | WsdlToPhp\PackageGenerator\DomHandler\AbstractNodeHandler | WsdlToPhp\PackageGenerator\DomHandler\AbstractElementHandler | WsdlToPhp\PackageGenerator\DomHandler\AbstractAttributeHandler | AbstractTag

getSuitableParentTags() protected method

Suitable tags as parent
protected getSuitableParentTags ( array $additionalTags = [] ) : string[]
$additionalTags array
return string[]

getValueAttributeValue() public method

public getValueAttributeValue ( $withNamespace = false, $withinItsType = true, $asType = null ) : mixed
return mixed

hasAttributeName() public method

public hasAttributeName ( ) : boolean
return boolean

hasAttributeRef() public method

public hasAttributeRef ( ) : boolean
return boolean

hasAttributeValue() public method

public hasAttributeValue ( ) : boolean
return boolean