C# Class Rhino.Ast.XmlString

AST node for an XML-text-only component of an XML literal expression.
AST node for an XML-text-only component of an XML literal expression. This node differs from a StringLiteral in that it does not have quotes for delimiters.
Inheritance: XmlFragment
Exibir arquivo Open project: hazzik/Rhino.Net

Public Methods

Method Description
GetXml ( ) : string

Returns the xml string for this component.

Returns the xml string for this component. Note that it may not be well-formed XML; it is a fragment.

SetXml ( string s ) : void

Sets the string for this XML component.

Sets the string for this XML component. Sets the length of the component to the length of the passed string.

ToSource ( int depth ) : string
Visit ( NodeVisitor v ) : void

Visits this node.

Visits this node. There are no children to visit.

XmlString ( ) : Rhino.Ast
XmlString ( int pos ) : Rhino.Ast
XmlString ( int pos, string s ) : Rhino.Ast

Method Details

GetXml() public method

Returns the xml string for this component.
Returns the xml string for this component. Note that it may not be well-formed XML; it is a fragment.
public GetXml ( ) : string
return string

SetXml() public method

Sets the string for this XML component.
Sets the string for this XML component. Sets the length of the component to the length of the passed string.
/// } if /// s /// is /// null ///
public SetXml ( string s ) : void
s string a string of xml text
return void

ToSource() public method

public ToSource ( int depth ) : string
depth int
return string

Visit() public method

Visits this node.
Visits this node. There are no children to visit.
public Visit ( NodeVisitor v ) : void
v NodeVisitor
return void

XmlString() public method

public XmlString ( ) : Rhino.Ast
return Rhino.Ast

XmlString() public method

public XmlString ( int pos ) : Rhino.Ast
pos int
return Rhino.Ast

XmlString() public method

public XmlString ( int pos, string s ) : Rhino.Ast
pos int
s string
return Rhino.Ast