|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.xml.parser.v2.XMLNode
oracle.xml.parser.v2.AttrDecl
public class AttrDecl
This class hold information about each attribute declared in an attribute list in the Document Type Definition.
| Field Summary | |
|---|---|
static int |
CDATAAttType - StringType - CDATA |
static int |
DEFAULTAttribute presence - Default |
static int |
ENTITIESAttType - TokenizedType - Entities |
static int |
ENTITYAttType - TokenizedType - Entity |
static int |
ENUMERATIONAttType - EnumeratedType - Enumeration |
static int |
FIXEDAttribute presence - Fixed |
static int |
IDAttType - TokenizedType - ID |
static int |
IDREFAttType - TokenizedType - ID reference |
static int |
IDREFSAttType - TokenizedType - ID references |
static int |
IMPLIEDAttribute presence - Implied |
static int |
NMTOKENAttType - TokenizedType - Name token |
static int |
NMTOKENSAttType - TokenizedType - Name tokens |
static int |
NOTATIONAttType - EnumeratedType - Notation |
static int |
REQUIREDAttribute presence - Required |
| Fields inherited from interface org.w3c.dom.Node |
|---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Fields inherited from interface org.w3c.dom.validation.NodeEditVAL |
|---|
VAL_FALSE, VAL_INCOMPLETE, VAL_NS_WF, VAL_SCHEMA, VAL_TRUE, VAL_UNKNOWN, VAL_WF |
| 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 this node, depending on its type |
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 |
writeExternal(java.io.ObjectOutput outArg)This method saves the state of the object by creating a binary compressed stream with information about this object. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| 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()
getNodeType in interface NodegetNodeType in class XMLNodepublic java.lang.String getNodeName()
getNodeName in interface NodegetNodeName in class XMLNodepublic int getAttrType()
public int getAttrPresence()
public java.lang.String getDefaultValue()
getDefaultValue in interface NodeEditVALgetDefaultValue in class XMLNodepublic java.util.Vector getEnumerationValues()
Enumeration
public void writeExternal(java.io.ObjectOutput outArg)
throws java.io.IOException
writeExternal in interface java.io.ExternalizablewriteExternal in class XMLNodeoutArg - The ObjectOutput stream used to write the serialized/ compressed stream.java.io.IOException - is thrown when there is an exception while writing the serialized/compressed stream.
public void readExternal(java.io.ObjectInput inArg)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in class XMLNodeinArg - the ObjectInput stream used for reading the compressed stream.java.io.IOException - is thrown when there is an error in reading the input stream.java.lang.ClassNotFoundException - is thrown when the class is not found
|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2003, 2014, Oracle and/or its affiliates. All rights reserved.