C# 클래스 TagLib.Xmp.XmpTag

Holds XMP (Extensible Metadata Platform) metadata.
상속: TagLib.Image.ImageTag
파일 보기 프로젝트 열기: rubenv/tripod 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ADOBE_X_NS string
CRS_NS string
DC_NS string
EXIF_AUX_NS string
EXIF_NS string
JOB_NS string
MS_PHOTO_NS string
NamespacePrefixes string>.Dictionary
PHOTOSHOP_NS string
RDF_NS string
STDIM_NS string
TIFF_NS string
XAP_BJ_NS string
XAP_MM_NS string
XAP_NS string
XAP_RIGHTS_NS string
XMLNS_NS string
XML_NS string
XMPTG_NS string

공개 메소드들

메소드 설명
Clear ( ) : void

Clears the values stored in the current instance.

FindNode ( string ns, string name ) : XmpNode

Finds the node associated with the namespace ns and the name name.

GetCollectionNode ( string ns, string name ) : string[]

The method returns an array of System.String values which are the stored text of the child nodes of the node associated with the namespace ns and the name name.

GetLangAltNode ( string ns, string name ) : string

Searches for a node holding language alternatives. The return value is the value of the default language stored by the node. The node is identified by the namespace ns and the name name. If the default language is not set, an arbitrary one is chosen. It is also tried to return the value a simple text node, if no associated alt-node exists.

GetTextNode ( string ns, string name ) : string

Returns the text of the node associated with the namespace and the name name.

Render ( ) : string

Renders the current instance to an XMP System.String.

SetCollectionNode ( string ns, string name, string values, XmpNodeType type ) : void

Sets a System.String[] as texts to the children of the node associated with the namespace ns and the name name.

SetLangAltNode ( string ns, string name, string value ) : void

Stores a the given value as the default language value for the alt-node associated with the namespace ns and the name name. All other alternatives set, are deleted by this method.

SetTextNode ( string ns, string name, string value ) : void

Creates a new text node associated with the namespace ns and the name name.

XmpTag ( ) : System

Construct a new empty XmpTag.

XmpTag ( string data ) : System

Construct a new XmpTag, using the data parsed from the given string.

비공개 메소드들

메소드 설명
AddNamespacePrefix ( string prefix, string ns ) : void
CreateAttribute ( XmlDocument doc, string name, string ns ) : XmlAttribute
CreateNode ( XmlDocument doc, string name, string ns ) : XmlNode
CreateTextPropertyWithQualifiers ( XmlNode node, string value ) : XmpNode
EnsureNamespacePrefix ( string ns ) : void

Make sure there's a suitable prefix mapped for the given namespace URI.

Initialize ( ) : void
NewNode ( string ns, string name ) : XmpNode
NewNode ( string ns, string name, XmpNodeType type ) : XmpNode
ParseEmptyPropertyElement ( XmpNode parent, XmlNode node ) : void
ParseLiteralPropertyElement ( XmpNode parent, XmlNode node ) : void
ParseNodeElement ( XmpNode parent, XmlNode node ) : void
ParseNodeElementList ( XmpNode parent, XmlNode xml_parent ) : void
ParsePropertyElement ( XmpNode parent, XmlNode node ) : void
ParseRDF ( XmlNode rdf_node ) : XmpNode
ParseResourcePropertyElement ( XmpNode parent, XmlNode node ) : void
ParseTypeResourcePropertyElement ( XmpNode parent, XmlNode node ) : void
PrepareNamespaces ( ) : void
RemoveNode ( string ns, string name ) : void

메소드 상세

Clear() 공개 메소드

Clears the values stored in the current instance.
public Clear ( ) : void
리턴 void

FindNode() 공개 메소드

Finds the node associated with the namespace ns and the name name.
public FindNode ( string ns, string name ) : XmpNode
ns string /// A with the namespace of the node. ///
name string /// A with the name of the node. ///
리턴 XmpNode

GetCollectionNode() 공개 메소드

The method returns an array of System.String values which are the stored text of the child nodes of the node associated with the namespace ns and the name name.
public GetCollectionNode ( string ns, string name ) : string[]
ns string /// A with the namespace of the node. ///
name string /// A with the name of the node. ///
리턴 string[]

GetLangAltNode() 공개 메소드

Searches for a node holding language alternatives. The return value is the value of the default language stored by the node. The node is identified by the namespace ns and the name name. If the default language is not set, an arbitrary one is chosen. It is also tried to return the value a simple text node, if no associated alt-node exists.
public GetLangAltNode ( string ns, string name ) : string
ns string /// A with the namespace of the node. ///
name string /// A with the name of the node. ///
리턴 string

GetTextNode() 공개 메소드

Returns the text of the node associated with the namespace and the name name.
public GetTextNode ( string ns, string name ) : string
ns string /// A with the namespace of the node. ///
name string /// A with the name of the node. ///
리턴 string

Render() 공개 메소드

Renders the current instance to an XMP System.String.
public Render ( ) : string
리턴 string

SetCollectionNode() 공개 메소드

Sets a System.String[] as texts to the children of the node associated with the namespace ns and the name name.
public SetCollectionNode ( string ns, string name, string values, XmpNodeType type ) : void
ns string /// A with the namespace of the node. ///
name string /// A with the name of the node. ///
values string /// A with the values to set for the children. ///
type XmpNodeType /// A with the type of the parent node. ///
리턴 void

SetLangAltNode() 공개 메소드

Stores a the given value as the default language value for the alt-node associated with the namespace ns and the name name. All other alternatives set, are deleted by this method.
public SetLangAltNode ( string ns, string name, string value ) : void
ns string /// A with the namespace of the node. ///
name string /// A with the name of the node. ///
value string /// A with the value for the default language /// to set. If is given, a possibly existing node /// will be deleted. ///
리턴 void

SetTextNode() 공개 메소드

Creates a new text node associated with the namespace ns and the name name.
public SetTextNode ( string ns, string name, string value ) : void
ns string /// A with the namespace of the node. ///
name string /// A with the name of the node. ///
value string /// A with the value for the new node. /// If is given, a possibly existing node will /// be deleted. ///
리턴 void

XmpTag() 공개 메소드

Construct a new empty XmpTag.
public XmpTag ( ) : System
리턴 System

XmpTag() 공개 메소드

Construct a new XmpTag, using the data parsed from the given string.
public XmpTag ( string data ) : System
data string /// A containing an XMP packet. This should be a valid /// XMP block. ///
리턴 System

프로퍼티 상세

ADOBE_X_NS 공개적으로 정적으로 프로퍼티

Adobe namespace
public static string ADOBE_X_NS
리턴 string

CRS_NS 공개적으로 정적으로 프로퍼티

Camera Raw Settings namespace
public static string CRS_NS
리턴 string

DC_NS 공개적으로 정적으로 프로퍼티

Dublin Core namespace
public static string DC_NS
리턴 string

EXIF_AUX_NS 공개적으로 정적으로 프로퍼티

Exif aux namespace
public static string EXIF_AUX_NS
리턴 string

EXIF_NS 공개적으로 정적으로 프로퍼티

Exif namespace
public static string EXIF_NS
리턴 string

JOB_NS 공개적으로 정적으로 프로퍼티

JOB namespace
public static string JOB_NS
리턴 string

MS_PHOTO_NS 공개적으로 정적으로 프로퍼티

Microsoft Photo namespace
public static string MS_PHOTO_NS
리턴 string

NamespacePrefixes 공개적으로 정적으로 프로퍼티

Mapping between full namespaces and their short prefix. Needs to be public for the unit test generator.
public static Dictionary NamespacePrefixes
리턴 string>.Dictionary

PHOTOSHOP_NS 공개적으로 정적으로 프로퍼티

Photoshop namespace
public static string PHOTOSHOP_NS
리턴 string

RDF_NS 공개적으로 정적으로 프로퍼티

RDF namespace
public static string RDF_NS
리턴 string

STDIM_NS 공개적으로 정적으로 프로퍼티

STDIM namespace
public static string STDIM_NS
리턴 string

TIFF_NS 공개적으로 정적으로 프로퍼티

TIFF namespace
public static string TIFF_NS
리턴 string

XAP_BJ_NS 공개적으로 정적으로 프로퍼티

XAP bj namespace
public static string XAP_BJ_NS
리턴 string

XAP_MM_NS 공개적으로 정적으로 프로퍼티

XAP mm namespace
public static string XAP_MM_NS
리턴 string

XAP_NS 공개적으로 정적으로 프로퍼티

XAP (XMP's previous name) namespace
public static string XAP_NS
리턴 string

XAP_RIGHTS_NS 공개적으로 정적으로 프로퍼티

XAP rights namespace
public static string XAP_RIGHTS_NS
리턴 string

XMLNS_NS 공개적으로 정적으로 프로퍼티

XMLNS namespace
public static string XMLNS_NS
리턴 string

XML_NS 공개적으로 정적으로 프로퍼티

XML namespace
public static string XML_NS
리턴 string

XMPTG_NS 공개적으로 정적으로 프로퍼티

XMP TPg (XMP Paged-Text) namespace
public static string XMPTG_NS
리턴 string