abstract public class IXmlFormatter
Modifier and Type | Method |
---|---|
abstract |
openTag(TextWriter output, IntNumber level, XmlNode node)
|
abstract |
writeElement(TextWriter output, IntNumber level, XmlNode node)
|
abstract |
closeTag(TextWriter output, IntNumber level, XmlNode node)
|
abstract public class IXmlReader
Modifier and Type | Property |
---|---|
get abstract BoolValue |
isAvailable()
|
get abstract BoolValue |
isOpenTag()
|
get abstract BoolValue |
isCloseTag()
|
get abstract BoolValue |
isContent()
|
get abstract String |
Name()
|
get abstract String |
Content()
|
Modifier and Type | Method |
---|---|
abstract |
read()
|
public singleton TabXmlFormatter
Modifier and Type | Method |
---|---|
|
openTag(TextWriter output, IntNumber level, XmlNode node)
|
|
writeElement(TextWriter output, IntNumber level, XmlNode node)
|
|
closeTag(TextWriter output, IntNumber level, XmlNode node)
|
public class XmlDocument
Modifier and Type | Field |
---|---|
XmlNode |
_root
|
Modifier and Type | Constructor / Static Method |
---|---|
XmlDocument |
new(XmlNode root)
|
XmlDocument |
new()
|
Modifier and Type | Method |
---|---|
|
load(IXmlReader reader)
|
|
save(IXmlFormatter formatter, TextWriter output)
|
XmlNode |
findNode(String xpath)
|
public class XmlNode
Modifier and Type | Field |
---|---|
XmlNode |
_parent
|
List<system'collections'Tuple<system'String,system'String>> |
_attributes
|
List<xml'XmlNode> |
_children
|
String |
_name
|
String |
_content
|
Modifier and Type | Constructor / Static Method |
---|---|
internal XmlNode |
new(XmlNode parent, String name)
|
internal XmlNode |
new(XmlNode parent, String name, String content)
|
Modifier and Type | Constructor / Static Method |
---|---|
|
dispatch()
|
XmlNode |
newElement(String name, String value)
|
XmlNode |
newNode(String name, params XmlNode[] children)
|
internal Tuple<system'String,system'String> |
parseXPath(IntNumber index, String xpath)
|
Modifier and Type | Property |
---|---|
get IntNumber |
ChildCounter()
|
Modifier and Type | Method |
---|---|
|
appendChild(XmlNode child)
|
internal |
setParent(XmlNode parent)
|
internal |
setContent(String content)
|
internal IntNumber |
getChildIndex(XmlNode child)
|
internal XmlNode |
getChild(IntNumber index)
|
XmlNode |
findChild(String xpath)
|
XmlNode |
nextSibling()
|
XmlNode |
previousSibling()
|
XmlNode |
firstChild()
|
XmlNode |
lastChild()
|
public class XmlReader
Modifier and Type | Field |
---|---|
TextReader |
input
|
String |
currentLine
|
Reference<system'IntNumber> |
currentOffset
|
Reference<system'IntNumber> |
lineNumber
|
BoolValue |
available
|
TokenType |
tokenMode
|
String |
tagName
|
String |
content
|
Modifier and Type | Constructor / Static Method |
---|---|
XmlReader |
open(TextReader input)
|
Modifier and Type | Property |
---|---|
get BoolValue |
isAvailable()
|
get BoolValue |
isOpenTag()
|
get BoolValue |
isCloseTag()
|
get BoolValue |
isContent()
|
get String |
Name()
|
get String |
Content()
|
Modifier and Type | Method |
---|---|
|
read()
|