CGXSDElement - Oracle 9i

Syntax:

public abstract class CGXSDElement oracle.xml.classgen.CGXSDElement

Description:

This class serves as the base class for the all the generated classes corresponding to the XML Schema generated by Schema Class Generator

Fields

type:

protected java.lang.Object type

Constructors

CGXSDElement():

public CGXSDElement()

Methods

addAttribute(String, String):

protected void addAttribute (java.lang.String attName, java.lang.String attValue)

Add the attribute of a given node to the hashtable.

Parameters

attName - the attribute name attValue - the attribute value

addElement(Object):

protected void addElement(java.lang.Object elem)

Add the elements of a given element node to the vector correspondig to the elements.

Parameters

elem - the object which needs to be added

getAttributes():

public java.util.Hashtable getAttributes()

Return the attributes

Returns

attributes the hashtable containing attribute name and value

getChildElements():

public java.util.Vector getChildElements()

Get the vector having all the local elements

Returns

elemChild vector

getNodeValue():

public java.lang.String getNodeValue()

Return the node value

getType():

public java.lang.Object getType()

Return the type

print(XMLOutputStream):

public void print (oracle.xml.parser.v2.XMLOutputStream out)

Print an element node

Parameters

out - the stream where the output is printed

printAttributes(XMLOutputStream, String):

public void printAttributes (oracle.xml.parser.v2.XMLOutputStream out, java.lang.String name)

Print an attribute node.

Parameters

out - the stream where the output is printed name - the attribute name

setNodeValue(String):

protected void setNodeValue(java.lang.String value)

Set the node value of an element

Parameters

value - the node value

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Oracle 9i Topics