C# 클래스 SimpleFramework.Xml.Core.Signature

The Signature object is used to determine the details to use for an annotated field or method using both the field an annotation details. This allows defaults to be picked up from the method or field type if that have not been explicitly overridden in the annotation.
파일 보기 프로젝트 열기: ngallagher/simplexml

공개 메소드들

메소드 설명
GetName ( Class type ) : String
GetRoot ( Class type ) : String

This will acquire the name of the Root annotation for the specified class. This will traverse the inheritance hierarchy looking for the root annotation, when it is found it is used to acquire a name for the XML element it represents.

GetRoot ( Class real, Class type ) : String

This will acquire the name of the Root annotation for the specified class. This will traverse the inheritance hierarchy looking for the root annotation, when it is found it is used to acquire a name for the XML element it represents.

Signature ( Contact contact, Label label ) : SimpleFramework.Xml.Strategy

Constructor for the Signature object. This is used to create an object that will use information available within the field and annotation to determine exactly what the name of the XML element is to be and the type to use.

비공개 메소드들

메소드 설명
IsEmpty ( text text ) : SimpleFramework.Xml.Strategy

메소드 상세

GetName() 공개 메소드

public GetName ( Class type ) : String
type Class /// this is the type to acquire the root name for ///
리턴 String

GetRoot() 공개 메소드

This will acquire the name of the Root annotation for the specified class. This will traverse the inheritance hierarchy looking for the root annotation, when it is found it is used to acquire a name for the XML element it represents.
public GetRoot ( Class type ) : String
type Class /// this is the type to acquire the root name with ///
리턴 String

GetRoot() 공개 메소드

This will acquire the name of the Root annotation for the specified class. This will traverse the inheritance hierarchy looking for the root annotation, when it is found it is used to acquire a name for the XML element it represents.
public GetRoot ( Class real, Class type ) : String
real Class /// the actual type of the object being searched ///
type Class /// this is the type to acquire the root name with ///
리턴 String

Signature() 공개 메소드

Constructor for the Signature object. This is used to create an object that will use information available within the field and annotation to determine exactly what the name of the XML element is to be and the type to use.
public Signature ( Contact contact, Label label ) : SimpleFramework.Xml.Strategy
contact Contact /// this is the method or field contact used ///
label Label /// this is the annotation on the contact object ///
리턴 SimpleFramework.Xml.Strategy