|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.schema.SOMObject
abstract base class for all SOM classes
SOMSchema
, Serialized FormConstructor Summary | |
SOMObject()
|
Method Summary | |
protected SOMObject |
addChild(java.lang.String tagName,
org.xml.sax.Attributes attrs)
for use with the SAX parser while loading a SOM from a file. |
protected void |
attributesToXML(java.io.Writer rtn,
java.util.Map attrs)
internal utility to print attributes to XML used in toXML(). |
protected void |
doIndent(java.io.Writer buf,
int indent)
|
java.lang.String |
getID_UQ()
get the unqualified ID (no namespace). |
abstract java.lang.String |
getID()
Returns a printable element tag for this Schema Object |
SOMObject |
getParent()
get a reference to the parent object |
SOMSchema |
getParentSchema()
get a reference to the parent schema for this object |
boolean |
isCircularReference(SOMObject reference)
|
boolean |
isSchemaChild()
determines if the immediate parent object is the schema element. |
static void |
setIndent(java.lang.String indentToken)
Allows the user to specify a token to be used for the indent when formatting output XML. |
void |
setParent(SOMObject parent)
|
java.lang.String |
toString()
The String representation of the XML Schema Object. |
java.lang.String |
toXML()
The String representation of the XML Schema Object. |
java.lang.String |
toXML(java.lang.String encoding)
The String representation of the XML Schema Object. |
void |
toXML(java.io.Writer rtn)
Outputs a formatted XML representation of SOMObject. |
abstract void |
toXML(java.io.Writer rtn,
int indent)
Outputs a formatted XML representation of SOMObject. |
protected static boolean |
trace(int lvl)
|
protected static void |
trace(java.lang.String msg)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public SOMObject()
Method Detail |
protected SOMObject addChild(java.lang.String tagName, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
tagName
- tag name from parserattrs
- attributes from parserpublic java.lang.String toString()
public java.lang.String toXML()
public java.lang.String toXML(java.lang.String encoding)
public void toXML(java.io.Writer rtn) throws java.io.IOException
rtn
- printable XML Schemapublic abstract void toXML(java.io.Writer rtn, int indent) throws java.io.IOException
rtn
- printable XML Schemaindent
- the indent level for formatting at which to start this schema object.protected void attributesToXML(java.io.Writer rtn, java.util.Map attrs) throws java.io.IOException
The Map used is not reusable. The Map is not guaranteed to be the same after this method completes.
rtn
- the output streamattrs
- the attributes to be written to the streampublic SOMSchema getParentSchema()
public SOMObject getParent()
public void setParent(SOMObject parent)
public boolean isSchemaChild()
public abstract java.lang.String getID()
protected void doIndent(java.io.Writer buf, int indent) throws java.io.IOException
public java.lang.String getID_UQ()
public static void setIndent(java.lang.String indentToken)
setIndent("\t");
indentToken
- public boolean isCircularReference(SOMObject reference)
protected static final boolean trace(int lvl)
protected static final void trace(java.lang.String msg)
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |