C# 클래스 Tridion.Extensions.DynamicDelivery.Templates.TridionXml

상속: System.Xml.XmlDocument
파일 보기 프로젝트 열기: rainmaker2k/TridionMVCDotNet 1 사용 예제들

공개 메소드들

메소드 설명
AddContentNamespace ( ) : void

Adds (if it exists) the Tridion Content namespace to the namespacemanager, using the Prefix "Content"

AddMetadataNamespace ( ) : void

Adds (if it exists) the Tridion Metadata namespace to the namespacemanager, using the Prefix "Metadata"

GetAttributeValue ( XmlNode node, string attr ) : string

Gets the attribute value.

GetContentAttributeValue ( string rootName, string fieldName, string attr ) : string

Gets the attribute value.

GetContentNode ( string rootName, string fieldName, bool deep ) : XmlNode

Gets the node.

GetContentNodeValue ( string rootName, string fieldName, bool deep ) : string

Gets the content node value.

GetContentNodes ( string rootName, string fieldName, bool deep ) : XmlNodeList

Gets the nodes.

GetMetadataAttributeValue ( string fieldName, string attr ) : string

Gets the metadata attribute value.

GetMetadataNode ( string fieldName, bool deep ) : XmlNode

Gets the metadata node.

GetMetadataNodeValue ( string fieldName, bool deep ) : string

Gets the metadata node value.

GetMetadataNodes ( string fieldName, bool deep ) : XmlNodeList

Gets the metadata nodes.

GetNode ( XmlNode node, string fieldName ) : XmlNode

Gets the node.

GetNodeValue ( XmlNode node ) : string

Gets the node value.

GetNodeValue ( XmlNode node, string fieldName ) : string

Gets the node value.

GetNodes ( XmlNode node, string fieldName ) : XmlNodeList

Gets the nodes.

GetPageMetadataNodeValue ( string fieldName, bool deep ) : string

Gets the metadata node value.

GetPublicationMetadataNodeValue ( string fieldName, bool deep ) : string

Gets the metadata node value.

GetRootElement ( ) : XmlNode

Gets the root element.

GetRootElementName ( ) : string

Gets the name of the root element.

LoadXml ( string xml ) : void

Loads the XML document from the specified string.

TridionXml ( ) : System

Initializes a new instance of the TridionXml class.

TridionXml ( XmlDocument source ) : System

Initializes a new instance of the TridionXml class using source as the starting point.

TridionXml ( XmlElement source ) : System

비공개 메소드들

메소드 설명
AddNamespace ( string contentOrMetadata ) : void

Queries the base XML and adds Content or Metadata namespaces to the Namespace manager

GetId ( ) : string

Reads an Item's ID

메소드 상세

AddContentNamespace() 공개 메소드

Adds (if it exists) the Tridion Content namespace to the namespacemanager, using the Prefix "Content"
public AddContentNamespace ( ) : void
리턴 void

AddMetadataNamespace() 공개 메소드

Adds (if it exists) the Tridion Metadata namespace to the namespacemanager, using the Prefix "Metadata"
public AddMetadataNamespace ( ) : void
리턴 void

GetAttributeValue() 공개 메소드

Gets the attribute value.
public GetAttributeValue ( XmlNode node, string attr ) : string
node System.Xml.XmlNode The node.
attr string The attr.
리턴 string

GetContentAttributeValue() 공개 메소드

Gets the attribute value.
public GetContentAttributeValue ( string rootName, string fieldName, string attr ) : string
rootName string Name of the root.
fieldName string Name of the field.
attr string The attr.
리턴 string

GetContentNode() 공개 메소드

Gets the node.
public GetContentNode ( string rootName, string fieldName, bool deep ) : XmlNode
rootName string Name of the root.
fieldName string Name of the field.
deep bool if set to true [deep].
리턴 System.Xml.XmlNode

GetContentNodeValue() 공개 메소드

Gets the content node value.
public GetContentNodeValue ( string rootName, string fieldName, bool deep ) : string
rootName string Name of the content root.
fieldName string Name of the field.
deep bool if set to true [deep].
리턴 string

GetContentNodes() 공개 메소드

Gets the nodes.
public GetContentNodes ( string rootName, string fieldName, bool deep ) : XmlNodeList
rootName string Name of the root.
fieldName string Name of the field.
deep bool if set to true [deep].
리턴 System.Xml.XmlNodeList

GetMetadataAttributeValue() 공개 메소드

Gets the metadata attribute value.
public GetMetadataAttributeValue ( string fieldName, string attr ) : string
fieldName string Name of the field.
attr string The attr.
리턴 string

GetMetadataNode() 공개 메소드

Gets the metadata node.
public GetMetadataNode ( string fieldName, bool deep ) : XmlNode
fieldName string Name of the field.
deep bool if set to true [deep].
리턴 System.Xml.XmlNode

GetMetadataNodeValue() 공개 메소드

Gets the metadata node value.
public GetMetadataNodeValue ( string fieldName, bool deep ) : string
fieldName string Name of the field.
deep bool if set to true [deep].
리턴 string

GetMetadataNodes() 공개 메소드

Gets the metadata nodes.
public GetMetadataNodes ( string fieldName, bool deep ) : XmlNodeList
fieldName string Name of the field.
deep bool if set to true [deep].
리턴 System.Xml.XmlNodeList

GetNode() 공개 메소드

Gets the node.
public GetNode ( XmlNode node, string fieldName ) : XmlNode
node System.Xml.XmlNode The node.
fieldName string Name of the field.
리턴 System.Xml.XmlNode

GetNodeValue() 공개 메소드

Gets the node value.
public GetNodeValue ( XmlNode node ) : string
node System.Xml.XmlNode The node.
리턴 string

GetNodeValue() 공개 메소드

Gets the node value.
public GetNodeValue ( XmlNode node, string fieldName ) : string
node System.Xml.XmlNode The node.
fieldName string Name of the field.
리턴 string

GetNodes() 공개 메소드

Gets the nodes.
public GetNodes ( XmlNode node, string fieldName ) : XmlNodeList
node System.Xml.XmlNode The node.
fieldName string Name of the field.
리턴 System.Xml.XmlNodeList

GetPageMetadataNodeValue() 공개 메소드

Gets the metadata node value.
public GetPageMetadataNodeValue ( string fieldName, bool deep ) : string
fieldName string Name of the field.
deep bool if set to true [deep].
리턴 string

GetPublicationMetadataNodeValue() 공개 메소드

Gets the metadata node value.
public GetPublicationMetadataNodeValue ( string fieldName, bool deep ) : string
fieldName string Name of the field.
deep bool if set to true [deep].
리턴 string

GetRootElement() 공개 메소드

Gets the root element.
public GetRootElement ( ) : XmlNode
리턴 System.Xml.XmlNode

GetRootElementName() 공개 메소드

Gets the name of the root element.
public GetRootElementName ( ) : string
리턴 string

LoadXml() 공개 메소드

Loads the XML document from the specified string.
There is a load or parse error in the XML. In this case, the document remains empty.
public LoadXml ( string xml ) : void
xml string String containing the XML document to load.
리턴 void

TridionXml() 공개 메소드

Initializes a new instance of the TridionXml class.
public TridionXml ( ) : System
리턴 System

TridionXml() 공개 메소드

Initializes a new instance of the TridionXml class using source as the starting point.
public TridionXml ( XmlDocument source ) : System
source System.Xml.XmlDocument The XmlDocument to start from.
리턴 System

TridionXml() 공개 메소드

public TridionXml ( XmlElement source ) : System
source System.Xml.XmlElement
리턴 System