forked from christiankerl/ckWsdlGenerator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathckDOMSerializable.class.php
More file actions
35 lines (33 loc) · 965 Bytes
/
ckDOMSerializable.class.php
File metadata and controls
35 lines (33 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
/**
* This file is part of the ckWsdlGenerator
*
* @package ckWsdlGenerator
* @author Christian Kerl <christian-kerl@web.de>
* @copyright Copyright (c) 2008, Christian Kerl
* @license http://www.opensource.org/licenses/mit-license.php MIT License
* @version SVN: $Id$
*/
/**
* ckDOMSerializable provides methods to make an object serializable to xml.
*
* @package ckWsdlGenerator
* @author Christian Kerl <christian-kerl@web.de>
*/
interface ckDOMSerializable
{
/**
* Gets the name of the root node of the objects xml representation.
*
* @return string The node name
*/
public function getNodeName();
/**
* Serializes the object in the context of a given xml document.
*
* @param DOMDocument $document A xml document used to create node objects
*
* @return DOMNode The xml representation of the object
*/
public function serialize(DOMDocument $document);
}