1: <?php
2:
3: /**
4: * Interface INode
5: * @version 1.0.1
6: * @author v.raskin
7: * @package vsword
8: */
9: interface INode {
10: function getWord();
11: function getHtml();
12: function setParent($parent);
13: function getParent();
14: }
15:
16: /**
17: * Interface INodeStyle
18: * @version 1.0.1
19: * @author v.raskin
20: * @package vsword
21: */
22: interface INodeStyle extends INode{ }
23:
24: /**
25: * Interface INodeStyleAdded
26: * @version 1.0.1
27: * @author v.raskin
28: * @package vsword
29: */
30: interface INodeStyleAdded extends INode{ }
31:
32: /**
33: * Interface IPNodeStyle
34: * @version 1.0.1
35: * @author v.raskin
36: * @package vsword
37: */
38: interface IPNodeStyle extends INode{ }
39:
40: /**
41: * Interface IPNodeStyleAdded
42: * @version 1.0.1
43: * @author v.raskin
44: * @package vsword
45: */
46: interface IPNodeStyleAdded extends INode{
47: function addPNodeStyle(IPNodeStyle $node);
48: }
49:
50: /**
51: * Interface INodeTextAdded
52: * @version 1.0.1
53: * @author v.raskin
54: * @package vsword
55: */
56: interface INodeTextAdded {
57: /**
58: * @param string $string
59: */
60: function addText($string);
61: }
62:
63: /**
64: * Interface ILineContext
65: * @version 1.0.1
66: * @author v.raskin
67: * @package vsword
68: */
69: interface ILineContext {}
70:
71: /**
72: * Interface IBlockContext
73: * @version 1.0.1
74: * @author v.raskin
75: * @package vsword
76: */
77: interface IBlockContext {}
78:
79: /**
80: * Interface IInitNode
81: * @version 1.0.1
82: * @author v.raskin
83: * @package vsword
84: */
85: interface IInitNode {
86: /**
87: * @param string $tagName
88: * @param mixed $attributes
89: * @return Node
90: */
91: function initNode($tagName, $attributes);
92: }