C# Class SharpVectors.Dom.Document

Summary description for Document.
Inheritance: System.Xml.XmlDocument, IDocument, INode, IEventTargetSupport, IDocumentEvent
Exibir arquivo Open project: codebutler/savagesvg Class Usage Examples

Private Properties

Property Type Description
IDocument IAttribute
IDocument IAttribute
IDocument ICDataSection
IDocument IComment
IDocument IDocumentFragment
IDocument IElement
IDocument IElement
IDocument IEntityReference
IDocument INode
IDocument INode
IDocument INode
IDocument INodeList
IDocument INodeList
IDocument IProcessingInstruction
IDocument IText
IDocument void
IEventTarget bool
IEventTarget bool
IEventTarget void
IEventTarget void
IEventTarget void
IEventTargetSupport void
WhenNodeChanged void
WhenNodeChanging void
WhenNodeInserted void
WhenNodeInserting void
WhenNodeRemoved void
WhenNodeRemoving void

Public Methods

Method Description
CanDispatch ( string namespaceUri, string type ) : bool
CreateAttribute ( string prefix, string localName, string namespaceUri ) : XmlAttribute
CreateCDataSection ( string data ) : XmlCDataSection
CreateComment ( string data ) : XmlComment
CreateDocumentFragment ( ) : XmlDocumentFragment
CreateDocumentType ( string name, string publicId, string systemId, string internalSubset ) : XmlDocumentType
CreateElement ( string prefix, string localName, string namespaceUri ) : XmlElement
CreateEntityReference ( string name ) : XmlEntityReference
CreateEvent ( string eventType ) : IEvent
CreateProcessingInstruction ( string target, string data ) : XmlProcessingInstruction
CreateSignificantWhitespace ( string text ) : XmlSignificantWhitespace
CreateTextNode ( string text ) : XmlText
CreateWhitespace ( string text ) : XmlWhitespace
CreateXmlDeclaration ( string version, string encoding, string standalone ) : XmlDeclaration
Document ( ) : System
Document ( XmlNameTable nameTable ) : System

Protected Methods

Method Description
DeletedText ( INode node, int offset, int count ) : void

A method to be called when some text was deleted from a text node, so that live objects can be notified.

Document ( DomImplementation domImplementation ) : System
InsertedNode ( INode node, INode newInternal, bool replace ) : void

A method to be called when a node has been inserted in the tree.

InsertedText ( INode node, int offset, int count ) : void

A method to be called when some text was inserted into a text node, so that live objects can be notified.

InsertingNode ( INode node, bool replace ) : void

A method to be called when a node is about to be inserted in the tree.

ModifiedAttrValue ( IAttribute attr, string oldvalue ) : void

A method to be called when an attribute value has been modified.

ModifiedCharacterData ( INode node, string oldvalue, string value ) : void

A method to be called when a character data node has been modified.

ModifyingCharacterData ( INode node ) : void

A method to be called when a character data node has been modified.

RemovedAttrNode ( IAttribute attribute, INode oldOwner, string name ) : void

A method to be called when an attribute node has been removed.

RemovedNode ( INode node, bool replace ) : void

A method to be called when a node has been removed from the tree.

RemovingNode ( INode node, INode oldChild, bool replace ) : void

A method to be called when a node is about to be removed from the tree.

RenamedAttrNode ( IAttribute oldAttribute, IAttribute newAttribute ) : void

A method to be called when an attribute node has been renamed.

RenamedElement ( IElement oldElement, IElement newElement ) : void

A method to be called when an element has been renamed.

ReplacedNode ( INode node ) : void

A method to be called when a node has been replaced in the tree.

ReplacedText ( INode node ) : void

A method to be called when some text was changed in a text node, so that live objects can be notified.

SetAttrNode ( IAttribute attribute, IAttribute previous ) : void

A method to be called when an attribute node has been set.

replacingNode ( INode node ) : void

A method to be called when a node is about to be replaced in the tree.

Private Methods

Method Description
IDocument ( string name ) : IAttribute
IDocument ( string namespaceUri, string qualifiedName ) : IAttribute
IDocument ( string data ) : ICDataSection
IDocument ( string data ) : IComment
IDocument ( ) : IDocumentFragment
IDocument ( string tagName ) : IElement
IDocument ( string namespaceUri, string qualifiedName ) : IElement
IDocument ( string name ) : IEntityReference
IDocument ( INode source ) : INode
IDocument ( INode importedNode, bool deep ) : INode
IDocument ( INode n, string namespaceUri, string qualifiedName ) : INode
IDocument ( string tagname ) : INodeList
IDocument ( string namespaceUri, string localName ) : INodeList
IDocument ( string target, string data ) : IProcessingInstruction
IDocument ( string data ) : IText
IDocument ( ) : void
IEventTarget ( IEvent @event ) : bool
IEventTarget ( string namespaceUri, string type ) : bool
IEventTarget ( string type, EventListener listener, bool useCapture ) : void
IEventTarget ( string namespaceUri, string type, EventListener listener, bool useCapture ) : void
IEventTarget ( string namespaceUri, string type, EventListener listener, bool useCapture, object eventGroup ) : void
IEventTargetSupport ( IEvent @event ) : void
WhenNodeChanged ( object sender, XmlNodeChangedEventArgs e ) : void
WhenNodeChanging ( object sender, XmlNodeChangedEventArgs e ) : void
WhenNodeInserted ( object sender, XmlNodeChangedEventArgs e ) : void
WhenNodeInserting ( object sender, XmlNodeChangedEventArgs e ) : void
WhenNodeRemoved ( object sender, XmlNodeChangedEventArgs e ) : void
WhenNodeRemoving ( object sender, XmlNodeChangedEventArgs e ) : void

Method Details

CanDispatch() public method

public CanDispatch ( string namespaceUri, string type ) : bool
namespaceUri string
type string
return bool

CreateAttribute() public method

public CreateAttribute ( string prefix, string localName, string namespaceUri ) : XmlAttribute
prefix string
localName string
namespaceUri string
return System.Xml.XmlAttribute

CreateCDataSection() public method

public CreateCDataSection ( string data ) : XmlCDataSection
data string
return System.Xml.XmlCDataSection

CreateComment() public method

public CreateComment ( string data ) : XmlComment
data string
return System.Xml.XmlComment

CreateDocumentFragment() public method

public CreateDocumentFragment ( ) : XmlDocumentFragment
return System.Xml.XmlDocumentFragment

CreateDocumentType() public method

public CreateDocumentType ( string name, string publicId, string systemId, string internalSubset ) : XmlDocumentType
name string
publicId string
systemId string
internalSubset string
return System.Xml.XmlDocumentType

CreateElement() public method

public CreateElement ( string prefix, string localName, string namespaceUri ) : XmlElement
prefix string
localName string
namespaceUri string
return System.Xml.XmlElement

CreateEntityReference() public method

public CreateEntityReference ( string name ) : XmlEntityReference
name string
return System.Xml.XmlEntityReference

CreateEvent() public method

public CreateEvent ( string eventType ) : IEvent
eventType string
return IEvent

CreateProcessingInstruction() public method

public CreateProcessingInstruction ( string target, string data ) : XmlProcessingInstruction
target string
data string
return System.Xml.XmlProcessingInstruction

CreateSignificantWhitespace() public method

public CreateSignificantWhitespace ( string text ) : XmlSignificantWhitespace
text string
return System.Xml.XmlSignificantWhitespace

CreateTextNode() public method

public CreateTextNode ( string text ) : XmlText
text string
return System.Xml.XmlText

CreateWhitespace() public method

public CreateWhitespace ( string text ) : XmlWhitespace
text string
return System.Xml.XmlWhitespace

CreateXmlDeclaration() public method

public CreateXmlDeclaration ( string version, string encoding, string standalone ) : XmlDeclaration
version string
encoding string
standalone string
return System.Xml.XmlDeclaration

DeletedText() protected method

A method to be called when some text was deleted from a text node, so that live objects can be notified.
protected DeletedText ( INode node, int offset, int count ) : void
node INode ///
offset int ///
count int ///
return void

Document() public method

public Document ( ) : System
return System

Document() protected method

protected Document ( DomImplementation domImplementation ) : System
domImplementation DomImplementation
return System

Document() public method

public Document ( XmlNameTable nameTable ) : System
nameTable System.Xml.XmlNameTable
return System

InsertedNode() protected method

A method to be called when a node has been inserted in the tree.
protected InsertedNode ( INode node, INode newInternal, bool replace ) : void
node INode ///
newInternal INode ///
replace bool ///
return void

InsertedText() protected method

A method to be called when some text was inserted into a text node, so that live objects can be notified.
protected InsertedText ( INode node, int offset, int count ) : void
node INode ///
offset int ///
count int ///
return void

InsertingNode() protected method

A method to be called when a node is about to be inserted in the tree.
protected InsertingNode ( INode node, bool replace ) : void
node INode ///
replace bool ///
return void

ModifiedAttrValue() protected method

A method to be called when an attribute value has been modified.
protected ModifiedAttrValue ( IAttribute attr, string oldvalue ) : void
attr IAttribute ///
oldvalue string ///
return void

ModifiedCharacterData() protected method

A method to be called when a character data node has been modified.
protected ModifiedCharacterData ( INode node, string oldvalue, string value ) : void
node INode ///
oldvalue string ///
value string ///
return void

ModifyingCharacterData() protected method

A method to be called when a character data node has been modified.
protected ModifyingCharacterData ( INode node ) : void
node INode ///
return void

RemovedAttrNode() protected method

A method to be called when an attribute node has been removed.
protected RemovedAttrNode ( IAttribute attribute, INode oldOwner, string name ) : void
attribute IAttribute ///
oldOwner INode ///
name string ///
return void

RemovedNode() protected method

A method to be called when a node has been removed from the tree.
protected RemovedNode ( INode node, bool replace ) : void
node INode
replace bool
return void

RemovingNode() protected method

A method to be called when a node is about to be removed from the tree.
protected RemovingNode ( INode node, INode oldChild, bool replace ) : void
node INode ///
oldChild INode ///
replace bool ///
return void

RenamedAttrNode() protected method

A method to be called when an attribute node has been renamed.
protected RenamedAttrNode ( IAttribute oldAttribute, IAttribute newAttribute ) : void
oldAttribute IAttribute ///
newAttribute IAttribute ///
return void

RenamedElement() protected method

A method to be called when an element has been renamed.
protected RenamedElement ( IElement oldElement, IElement newElement ) : void
oldElement IElement ///
newElement IElement ///
return void

ReplacedNode() protected method

A method to be called when a node has been replaced in the tree.
protected ReplacedNode ( INode node ) : void
node INode ///
return void

ReplacedText() protected method

A method to be called when some text was changed in a text node, so that live objects can be notified.
protected ReplacedText ( INode node ) : void
node INode ///
return void

SetAttrNode() protected method

A method to be called when an attribute node has been set.
protected SetAttrNode ( IAttribute attribute, IAttribute previous ) : void
attribute IAttribute ///
previous IAttribute ///
return void

replacingNode() protected method

A method to be called when a node is about to be replaced in the tree.
protected replacingNode ( INode node ) : void
node INode ///
return void