C# Class Monobjc.Tools.Generator.Parsers.Sgml.AttDef

An attribute definition in a DTD.
Afficher le fichier Open project: Monobjc/monobjc-tools Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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.

Method Details

AttDef() public méthode

Initialises a new instance of the AttDef class.
public AttDef ( string name ) : System
name string The name of the attribute.
Résultat System

SetEnumeratedType() public méthode

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.
Résultat void

SetPresence() public méthode

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.
Résultat bool

SetType() public méthode

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.
Résultat void