Open SiteSearch 4.1.1
Final

ORG.oclc.xml.parser
Class AttDef

java.lang.Object
  |
  +--ORG.oclc.xml.parser.AttDef

public class AttDef
extends Object

This object describes an attribute type and potential values. This encapsulates the information for one Attribute in an Attribute List in a DTD as described below:


Field Summary
static int CDATA
          type of attribute
static int DEFAULT
          presence of attribute
static int ENTITIES
           
static int ENTITY
           
static int ENUMERATION
           
static int FIXED
           
static int ID
           
static int IDREF
           
static int IDREFS
           
static int IMPLIED
           
static int NMTOKEN
           
static int NMTOKENS
           
static int NOTATION
           
static int REQUIRED
           
 
Method Summary
 Object getDefault()
          Return the default value for the attribute.
 Name getName()
          Return the name of the attribute.
 int getPresence()
          Return the precence type for the attribute.
 int getType()
          Return the attribute type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CDATA

public static final int CDATA
type of attribute

ID

public static final int ID

IDREF

public static final int IDREF

IDREFS

public static final int IDREFS

ENTITY

public static final int ENTITY

ENTITIES

public static final int ENTITIES

NMTOKEN

public static final int NMTOKEN

NMTOKENS

public static final int NMTOKENS

NOTATION

public static final int NOTATION

ENUMERATION

public static final int ENUMERATION

DEFAULT

public static final int DEFAULT
presence of attribute

REQUIRED

public static final int REQUIRED

IMPLIED

public static final int IMPLIED

FIXED

public static final int FIXED
Method Detail

getDefault

public Object getDefault()
Return the default value for the attribute.

getName

public Name getName()
Return the name of the attribute.

getType

public int getType()
Return the attribute type.

getPresence

public int getPresence()
Return the precence type for the attribute.

Open SiteSearch 4.1.1
Final