C# Class Castle.Windsor.Configuration.Interpreters.XmlProcessor.ElementProcessors.AbstractXmlNodeProcessor

Inheritance: IXmlNodeProcessor
Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode Description
AbstractXmlNodeProcessor ( ) : System
Accept ( XmlNode node ) : bool

Accepts the specified node. Check if node has the same name as the processor and the node.NodeType is in the AcceptNodeTypes List

Process ( IXmlProcessorNodeList nodeList, IXmlProcessorEngine engine ) : void

Méthodes protégées

Méthode Description
AppendChild ( XmlNode element, XmlNode child ) : void
AppendChild ( XmlNode element, XmlNodeList nodes ) : void
AppendChild ( XmlNode element, string text ) : void
CreateFragment ( XmlNode parentNode ) : XmlDocumentFragment
CreateText ( XmlNode node, string content ) : XmlText
GetNodeAsElement ( XmlElement element, XmlNode child ) : XmlElement

Convert and return child parameter into an XmlElement An exception will be throw in case the child node cannot be converted

GetRequiredAttribute ( XmlElement element, String attribute ) : String
IgnoreNode ( XmlNode node ) : bool
ImportNode ( XmlNode targetElement, XmlNode node ) : XmlNode
IsTextNode ( XmlNode node ) : bool
MoveChildNodes ( XmlDocumentFragment fragment, XmlElement element ) : void
RemoveItSelf ( XmlNode node ) : void
ReplaceItself ( XmlNode newNode, XmlNode oldNode ) : void
ReplaceNode ( XmlNode element, XmlNode newNode, XmlNode oldNode ) : void

Method Details

AbstractXmlNodeProcessor() public méthode

public AbstractXmlNodeProcessor ( ) : System
Résultat System

Accept() public méthode

Accepts the specified node. Check if node has the same name as the processor and the node.NodeType is in the AcceptNodeTypes List
public Accept ( XmlNode node ) : bool
node System.Xml.XmlNode The node.
Résultat bool

AppendChild() protected méthode

protected AppendChild ( XmlNode element, XmlNode child ) : void
element System.Xml.XmlNode
child System.Xml.XmlNode
Résultat void

AppendChild() protected méthode

protected AppendChild ( XmlNode element, XmlNodeList nodes ) : void
element System.Xml.XmlNode
nodes System.Xml.XmlNodeList
Résultat void

AppendChild() protected méthode

protected AppendChild ( XmlNode element, string text ) : void
element System.Xml.XmlNode
text string
Résultat void

CreateFragment() protected méthode

protected CreateFragment ( XmlNode parentNode ) : XmlDocumentFragment
parentNode System.Xml.XmlNode
Résultat System.Xml.XmlDocumentFragment

CreateText() protected méthode

protected CreateText ( XmlNode node, string content ) : XmlText
node System.Xml.XmlNode
content string
Résultat System.Xml.XmlText

GetNodeAsElement() protected méthode

Convert and return child parameter into an XmlElement An exception will be throw in case the child node cannot be converted
protected GetNodeAsElement ( XmlElement element, XmlNode child ) : XmlElement
element System.Xml.XmlElement Parent node
child System.Xml.XmlNode Node to be converted
Résultat System.Xml.XmlElement

GetRequiredAttribute() protected méthode

protected GetRequiredAttribute ( XmlElement element, String attribute ) : String
element System.Xml.XmlElement
attribute String
Résultat String

IgnoreNode() protected méthode

protected IgnoreNode ( XmlNode node ) : bool
node System.Xml.XmlNode
Résultat bool

ImportNode() protected méthode

protected ImportNode ( XmlNode targetElement, XmlNode node ) : XmlNode
targetElement System.Xml.XmlNode
node System.Xml.XmlNode
Résultat System.Xml.XmlNode

IsTextNode() protected méthode

protected IsTextNode ( XmlNode node ) : bool
node System.Xml.XmlNode
Résultat bool

MoveChildNodes() protected méthode

protected MoveChildNodes ( XmlDocumentFragment fragment, XmlElement element ) : void
fragment System.Xml.XmlDocumentFragment
element System.Xml.XmlElement
Résultat void

Process() public abstract méthode

public abstract Process ( IXmlProcessorNodeList nodeList, IXmlProcessorEngine engine ) : void
nodeList IXmlProcessorNodeList
engine IXmlProcessorEngine
Résultat void

RemoveItSelf() protected méthode

protected RemoveItSelf ( XmlNode node ) : void
node System.Xml.XmlNode
Résultat void

ReplaceItself() protected méthode

protected ReplaceItself ( XmlNode newNode, XmlNode oldNode ) : void
newNode System.Xml.XmlNode
oldNode System.Xml.XmlNode
Résultat void

ReplaceNode() protected méthode

protected ReplaceNode ( XmlNode element, XmlNode newNode, XmlNode oldNode ) : void
element System.Xml.XmlNode
newNode System.Xml.XmlNode
oldNode System.Xml.XmlNode
Résultat void