C# 클래스 Monobjc.Tools.Generator.Parsers.Sgml.AttDef

An attribute definition in a DTD.
파일 보기 프로젝트 열기: Monobjc/monobjc-tools 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
AttDef ( string name ) : System

Initialises a new instance of the AttDef class.

SetEnumeratedType ( string enumValues, AttributeType type ) : void

Sets the attribute definition to have an enumerated value.

SetPresence ( string token ) : bool

Sets the attribute presence declaration.

SetType ( string type ) : void

Sets the type of the attribute definition.

메소드 상세

AttDef() 공개 메소드

Initialises a new instance of the AttDef class.
public AttDef ( string name ) : System
name string The name of the attribute.
리턴 System

SetEnumeratedType() 공개 메소드

Sets the attribute definition to have an enumerated value.
If the type parameter is not either or .
public SetEnumeratedType ( string enumValues, AttributeType type ) : void
enumValues string The possible values in the enumeration.
type AttributeType The type to set the attribute to.
리턴 void

SetPresence() 공개 메소드

Sets the attribute presence declaration.
public SetPresence ( string token ) : bool
token string The string representation of the attribute presence, corresponding to one of the values in the enumeration.
리턴 bool

SetType() 공개 메소드

Sets the type of the attribute definition.
public SetType ( string type ) : void
type string The string representation of the attribute type, corresponding to the values in the enumeration.
리턴 void