|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.xml.classgen.CGXSDElement
This class serves as the base class for the all the generated classes corresponding to the XML Schema generated by Schema Class Generator
Field Summary | |
protected java.lang.Object |
type
|
Constructor Summary | |
CGXSDElement()
|
Method Summary | |
protected void |
addAttribute(java.lang.String attName,
java.lang.String attValue)
Add the attribute of a given node to the hashtable. |
protected void |
addElement(java.lang.Object elem)
Add the elements of a given element node to the vector correspondig to the elements. |
java.util.Hashtable |
getAttributes()
Return the attributes |
java.util.Vector |
getChildElements()
Get the vector having all the local elements |
java.lang.String |
getNodeValue()
Return the node value |
void |
print(XMLOutputStream out)
Print an element node |
void |
printAttributes(XMLOutputStream out,
java.lang.String name,
java.lang.String namespace)
Print an attribute node |
protected void |
setNodeValue(java.lang.String value)
Set the node value of an element |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected java.lang.Object type
Constructor Detail |
public CGXSDElement()
Method Detail |
protected void addElement(java.lang.Object elem)
elem
- the object which needs to be addedpublic java.util.Vector getChildElements()
protected void addAttribute(java.lang.String attName, java.lang.String attValue)
attName
- the attribute nameattValue
- the attribute valuepublic java.util.Hashtable getAttributes()
protected void setNodeValue(java.lang.String value)
value
- the node valuepublic java.lang.String getNodeValue()
public void print(XMLOutputStream out) throws java.io.IOException
out
- the stream where the output is printedpublic void printAttributes(XMLOutputStream out, java.lang.String name, java.lang.String namespace) throws java.io.IOException
out
- the stream where the output is printedname
- the attribute name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |