|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
oracle.xml.parser.v2.AttrDecl
This class hold information about each attribute declared in an attribute list in the Document Type Definition.
Field Summary | |
static int |
CDATA AttType - StringType - CDATA |
static int |
DEFAULT Attribute presence - Default |
static int |
ENTITIES AttType - TokenizedType - Entities |
static int |
ENTITY AttType - TokenizedType - Entity |
static int |
ENUMERATION AttType - EnumeratedType - Enumeration |
static int |
FIXED Attribute presence - Fixed |
static int |
ID AttType - TokenizedType - ID |
static int |
IDREF AttType - TokenizedType - ID reference |
static int |
IDREFS AttType - TokenizedType - ID references |
static int |
IMPLIED Attribute presence - Implied |
static int |
NMTOKEN AttType - TokenizedType - Name token |
static int |
NMTOKENS AttType - TokenizedType - Name tokens |
static int |
NOTATION AttType - EnumeratedType - Notation |
static int |
REQUIRED Attribute presence - Required |
Constructor Summary | |
AttrDecl() Default constructor. |
Method Summary | |
int |
getAttrPresence() Gets attribute presence |
int |
getAttrType() Gets attribute type |
java.lang.String |
getDefaultValue() Gets attribute default value |
java.util.Vector |
getEnumerationValues() Gets attribute values |
java.lang.String |
getNodeName() Gets the name of the Attr Decl. |
short |
getNodeType() Gets a code representing the type of the underlying object |
void |
readExternal(java.io.ObjectInput inArg) This method reads the information written in the compressed stream by writeExternal method and restores the object correspondingly. |
void |
readExternal(oracle.xml.io.XMLObjectInput in, oracle.xml.comp.CXMLContext cxml) This method reads the ElementDecl content |
static java.lang.String |
typeToString(int type) Gets a string representation of the attribute type |
void |
writeExternal(java.io.ObjectOutput outArg) This method saves the state of the object by creating a binray compressed stream with information about this object. |
Field Detail |
public static final int CDATA
public static final int ID
public static final int IDREF
public static final int IDREFS
public static final int ENTITY
public static final int ENTITIES
public static final int NMTOKEN
public static final int NMTOKENS
public static final int NOTATION
public static final int ENUMERATION
public static final int DEFAULT
public static final int REQUIRED
public static final int IMPLIED
public static final int FIXED
Constructor Detail |
public AttrDecl()
Method Detail |
public short getNodeType()
public java.lang.String getNodeName()
public int getAttrType()
public int getAttrPresence()
public java.lang.String getDefaultValue()
public java.util.Vector getEnumerationValues()
Enumeration
public static java.lang.String typeToString(int type)
public void writeExternal(java.io.ObjectOutput outArg) throws java.io.IOException
out
- The ObjectOutput stream used to write the serialized/ compressed stream.public void readExternal(java.io.ObjectInput inArg) throws java.io.IOException, java.lang.ClassNotFoundException
in
- the ObjectInput stream used for reading the compressed stream.public void readExternal(oracle.xml.io.XMLObjectInput in, oracle.xml.comp.CXMLContext cxml) throws java.io.IOException, java.lang.ClassNotFoundException
in
- XMLObjectInput the input streaminp
- the byte which is already read is passed to this functioncxmlContent
- the serialization object content information
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.