com.bea.schema
Class SOMAppInfo
java.lang.Object
com.bea.schema.SOMObject
com.bea.schema.SOMAppInfo
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- SOMDocumentation
- public class SOMAppInfo
- extends SOMObject
<appInfo> content element for the schema element annotation.
- Version:
- 1.0
- Author:
- sharpe
- See Also:
- Serialized Form
Methods inherited from class com.bea.schema.SOMObject |
addPrefixMapping, getContainmentXPath, getEffectivePrefixMappings, getID_UQ, getParent, getParentName, getParentSchema, getPrefixForTargetNamespace, getPrefixMapping, getTargetNamespace, getURIForPrefix, isCircularReference, isSchemaChild, msg, msg, removeNamespaceQualifier, removePrefixMapping, setIndent, setParent, setTargetNamespace, toString, toXML, toXML, toXML |
SOMAppInfo
public SOMAppInfo(String content)
getID
public String getID()
- Description copied from class:
SOMObject
- Returns a printable element tag for this Schema Object
- Specified by:
getID
in class SOMObject
- Returns:
- String representation of the element tag
setSource
public void setSource(String uriRef)
getSource
public String getSource()
setContent
public void setContent(String content)
appendContent
public void appendContent(String content)
getContent
public String getContent()
getAttributes
public Map getAttributes(boolean getAll)
- retrieve the attributes for this schema element.
If getAll is false, only the attributes that are
not set to their default value are returned. If
getAll is true, all possible attributes for this
element will be returned.
- Parameters:
getAll
- get all attributes
- Returns:
- a Hashtable of attributes, where the attribute name
and value are stored as strings.
toXML
public void toXML(Writer rtn,
int indent)
throws IOException
- Description copied from class:
SOMObject
- Outputs a formatted XML representation of SOMObject.
- Specified by:
toXML
in class SOMObject
- Parameters:
rtn
- printable XML Schemaindent
- the indent level for formatting at which to start this schema object.
- Throws:
IOException
- if IOExcpetion is thrown by underlying java.io.Writer