|
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 | +--com.bea.schema.type.SOMType | +--com.bea.schema.SOMUserDefinedType | +--com.bea.schema.SOMComplexType
<complexType> This class acts as a wrapper to complexType elements. A Complex Type is a set of attribute declarations and a content type that respectively pertain to the attributes and children of the element type that's being specified
Fields inherited from class com.bea.schema.type.SOMType |
ANYURI,
BASE64BINARY,
BINARY,
BOOLEAN,
BYTE,
CDATA,
CENTURY,
DATE,
DATETIME,
DECIMAL,
DOUBLE,
DURATION,
ENTITIES,
ENTITY,
FLOAT,
GDAY,
GMONTH,
GMONTHDAY,
GYEAR,
GYEARMONTH,
HEXBINARY,
ID,
IDREF,
IDREFS,
INT,
INTEGER,
LANGUAGE,
LONG,
MONTH,
NAME,
NCNAME,
NEGATIVEINTEGER,
NMTOKEN,
NMTOKENS,
NONNEGATIVEINTEGER,
NONPOSITIVEINTEGER,
NORMALIZEDSTRING,
NOTATION,
NUMBER,
POSITIVEINTEGER,
QNAME,
RECURRINGDATE,
RECURRINGDAY,
RECURRINGDURATION,
SHORT,
STRING,
TIME,
TIMEDURATION,
TIMEINSTANT,
TIMEPERIOD,
TOKEN,
UNSIGNEDBYTE,
UNSIGNEDINT,
UNSIGNEDLONG,
UNSIGNEDSHORT,
URIREFERENCE,
YEAR |
Constructor Summary | |
|
SOMComplexType()
|
protected |
SOMComplexType(org.xml.sax.Attributes attrs,
SOMObject parent)
|
|
SOMComplexType(java.lang.String name)
|
Method Summary | |
SOMAttribute |
addAttribute(SOMAttribute attribute)
add an <attribute> to this complexType. |
SOMAttribute |
addAttribute(java.lang.String name)
|
SOMAttribute |
addAttribute(java.lang.String name,
SOMType type)
|
SOMAttributeGroup |
addAttributeGroup(SOMAttributeGroup attributeGrp)
add an <attributeGroup> to this complexType. |
protected SOMObject |
addChild(java.lang.String tagName,
org.xml.sax.Attributes attrs)
|
SOMComplexContent |
addComplexContent(SOMExtension extension)
|
SOMComplexContent |
addComplexContent(SOMRestriction restriction)
|
SOMSequence |
addSequence()
|
SOMSimpleContent |
addSimpleContent(SOMExtension extension)
|
SOMSimpleContent |
addSimpleContent(SOMRestriction restriction)
|
void |
createDefault(DefaultDocumentOptions options,
org.w3c.dom.Element current)
|
java.lang.String |
getAbstract()
|
java.util.Iterator |
getAttributeElements()
returns an iterator over SOMAttribute(s) children |
java.util.Iterator |
getAttributeGroups()
returns an iterator over SOMAttributeGroup(s) children |
java.util.Map |
getAttributes(boolean getAll)
retrieve the attributes for this schema element. |
java.lang.String |
getBlock()
|
SOMSimpleContent |
getContent()
a reference to the content type for this complexType |
java.lang.String |
getFinal()
|
SOMGroupType |
getGroup()
a reference to the group for this complexType |
java.lang.String |
getID()
|
java.lang.String |
getMixed()
|
java.util.Iterator |
listAttributesExtended()
iterator over all attribute elements for this complexType. |
SOMAttribute |
removeAttribute(SOMAttribute attr)
remove an attribute sub-element. |
SOMAttributeGroup |
removeAttributeGroup(SOMAttributeGroup attr)
remove an attribute sub-element. |
SOMSimpleContent |
removeContent()
remove the previously set content, simpleContent or complexContent. |
SOMGroupType |
removeGroup()
remove the previously set group-type. |
void |
setAbstract(java.lang.String p_abstract)
set the abstract attribute for this complexType |
void |
setBlock(java.lang.String p_block)
|
SOMSimpleContent |
setContent(SOMSimpleContent p_content)
Method for setting simpleContent or complexContent within the complexType. |
void |
setFinal(java.lang.String p_final)
|
SOMGroupType |
setGroup(SOMGroupType p_group)
|
void |
setMixed(boolean p_mixed)
|
void |
setMixed(java.lang.String p_mixed)
|
void |
toXML(java.io.Writer rtn,
int indent)
|
protected void |
validate(org.w3c.dom.Node element,
java.util.List errorList)
|
Methods inherited from class com.bea.schema.SOMUserDefinedType |
addAnnotation,
addAnnotation,
addDocumentation,
getAnnotation,
getName,
isUserDefinedType,
removeAnnotation,
setName |
Methods inherited from class com.bea.schema.type.SOMType |
getAllowedFacets,
getType,
isElementalType |
Methods inherited from class com.bea.schema.SOMObject |
attributesToXML,
doIndent,
getID_UQ,
getParent,
getParentSchema,
isCircularReference,
isSchemaChild,
setIndent,
setParent,
toString,
toXML,
toXML,
toXML,
trace,
trace |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public SOMComplexType()
public SOMComplexType(java.lang.String name)
protected SOMComplexType(org.xml.sax.Attributes attrs, SOMObject parent)
Method Detail |
public java.lang.String getID()
public void setAbstract(java.lang.String p_abstract)
p_abstract
- the value for the abstract attributepublic void setBlock(java.lang.String p_block)
p_block
- public void setFinal(java.lang.String p_final)
p_final
- public void setMixed(java.lang.String p_mixed)
public void setMixed(boolean p_mixed)
public java.lang.String getAbstract()
public java.lang.String getBlock()
public java.lang.String getFinal()
public java.lang.String getMixed()
public SOMGroupType getGroup()
public SOMSimpleContent getContent()
public java.util.Iterator getAttributeElements()
public java.util.Iterator getAttributeGroups()
public java.util.Iterator listAttributesExtended()
public java.util.Map getAttributes(boolean getAll)
getAll
- get all attributesprotected SOMObject addChild(java.lang.String tagName, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
public SOMSimpleContent addSimpleContent(SOMRestriction restriction)
public SOMSimpleContent addSimpleContent(SOMExtension extension)
public SOMComplexContent addComplexContent(SOMRestriction restriction)
public SOMComplexContent addComplexContent(SOMExtension extension)
public SOMSimpleContent setContent(SOMSimpleContent p_content)
p_content
- takes a SimpleContent object or ComplexContent objectpublic SOMGroupType setGroup(SOMGroupType p_group)
public SOMSequence addSequence()
public SOMAttribute addAttribute(java.lang.String name)
public SOMAttribute addAttribute(java.lang.String name, SOMType type)
public SOMAttribute addAttribute(SOMAttribute attribute)
attribute
- the attribute to addpublic SOMAttributeGroup addAttributeGroup(SOMAttributeGroup attributeGrp)
attribute
- the attributeGroup to addpublic SOMGroupType removeGroup()
public SOMSimpleContent removeContent()
public SOMAttribute removeAttribute(SOMAttribute attr)
attr
- public SOMAttributeGroup removeAttributeGroup(SOMAttributeGroup attr)
attr
- public void toXML(java.io.Writer rtn, int indent) throws java.io.IOException
public void createDefault(DefaultDocumentOptions options, org.w3c.dom.Element current)
protected void validate(org.w3c.dom.Node element, java.util.List errorList)
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |