class XmlSerializationVisitorCustom extends XmlSerializationVisitor

Properties

$document

Methods

__construct($namingStrategy)

No description

setDefaultRootName($name, $namespace = null)

No description

boolean
hasDefaultRootName()

No description

setDefaultVersion($version)

No description

setDefaultEncoding($encoding)

No description

setNavigator(GraphNavigator $navigator)

No description

getNavigator()

No description

visitNull($data, array $type, Context $context)

No description

visitString($data, array $type, Context $context)

No description

visitSimpleString($data, array $type, Context $context)

No description

visitBoolean($data, array $type, Context $context)

No description

visitInteger($data, array $type, Context $context)

No description

visitDouble($data, array $type, Context $context)

No description

visitArray($data, array $type, Context $context)

No description

startVisitingObject(ClassMetadata $metadata, $data, array $type, Context $context)

No description

visitProperty(PropertyMetadata $metadata, $object, Context $context)

No description

endVisitingObject(ClassMetadata $metadata, $data, array $type, Context $context)

No description

getResult()

No description

getCurrentNode()

No description

getCurrentMetadata()

No description

getDocument()

No description

setCurrentMetadata(PropertyMetadata $metadata)

No description

setCurrentNode(DOMNode $node)

No description

revertCurrentNode()

No description

revertCurrentMetadata()

No description

createDocument($version = null, $encoding = null, $addRoot = true)

No description

prepare($data)

No description

Details

at line 32
__construct($namingStrategy)

Parameters

$namingStrategy

at line 37
setDefaultRootName($name, $namespace = null)

Parameters

$name
$namespace

at line 45
boolean hasDefaultRootName()

Return Value

boolean

at line 49
setDefaultVersion($version)

Parameters

$version

at line 53
setDefaultEncoding($encoding)

Parameters

$encoding

at line 57
setNavigator(GraphNavigator $navigator)

Parameters

GraphNavigator $navigator

at line 64
getNavigator()

at line 68
visitNull($data, array $type, Context $context)

Parameters

$data
array $type
Context $context

at line 83
visitString($data, array $type, Context $context)

Parameters

$data
array $type
Context $context

at line 97
visitSimpleString($data, array $type, Context $context)

Parameters

$data
array $type
Context $context

at line 106
visitBoolean($data, array $type, Context $context)

Parameters

$data
array $type
Context $context

at line 115
visitInteger($data, array $type, Context $context)

Parameters

$data
array $type
Context $context

at line 119
visitDouble($data, array $type, Context $context)

Parameters

$data
array $type
Context $context

at line 123
visitArray($data, array $type, Context $context)

Parameters

$data
array $type
Context $context

at line 145
startVisitingObject(ClassMetadata $metadata, $data, array $type, Context $context)

Parameters

ClassMetadata $metadata
$data
array $type
Context $context

at line 167
visitProperty(PropertyMetadata $metadata, $object, Context $context)

Parameters

PropertyMetadata $metadata
$object
Context $context

at line 238
endVisitingObject(ClassMetadata $metadata, $data, array $type, Context $context)

Parameters

ClassMetadata $metadata
$data
array $type
Context $context

at line 242
getResult()

at line 246
getCurrentNode()

at line 250
getCurrentMetadata()

at line 254
getDocument()

at line 258
setCurrentMetadata(PropertyMetadata $metadata)

Parameters

PropertyMetadata $metadata

at line 263
setCurrentNode(DOMNode $node)

Parameters

DOMNode $node

at line 268
revertCurrentNode()

at line 272
revertCurrentMetadata()

at line 276
createDocument($version = null, $encoding = null, $addRoot = true)

Parameters

$version
$encoding
$addRoot

at line 291
prepare($data)

Parameters

$data