|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.xmlschema.xsdomobject.XSDOMObject
uk.ac.ic.doc.automed.xmlschema.xsdomobject.ComplexType
public class ComplexType
Define the internal representation for an XMLSchema complexType
| Field Summary |
|---|
| Fields inherited from class uk.ac.ic.doc.automed.xmlschema.xsdomobject.XSDOMObject |
|---|
icon, keyref, maxOccurs, minOccurs, name, p, TREE_PATH_FLAVOR, type |
| Constructor Summary | |
|---|---|
ComplexType(java.lang.String name)
Creates a new instance of ComplexType |
|
| Method Summary | |
|---|---|
void |
addChild(java.util.ArrayList list)
Add a list of child elements |
void |
addChild(Element name)
Add a child element |
void |
addChildAttribute(Attribute name)
Add a child Attribute |
void |
addChildAttributes(java.util.ArrayList atts)
Add a list of child Attributes |
java.lang.String |
getBaseType()
Return whether or not this has been used as a subtype |
java.util.ArrayList |
getChildAttributes()
Return any child attributes |
java.util.ArrayList |
getChildren()
Return any child elements |
java.lang.String |
getCons()
Return the type when used as a constraint |
XSDOMObject |
getPrimaryKey()
Get the primary key for this complexType |
java.lang.String |
getType()
Return the type |
void |
setBaseType(java.lang.String baseType)
Set whether or this is being used as a subtype |
void |
setPrimaryKey(XSDOMObject primaryKey)
Set the primary key for this complexType |
| Methods inherited from class uk.ac.ic.doc.automed.xmlschema.xsdomobject.XSDOMObject |
|---|
getIcon, getKeyRef, getMaxOccurs, getMinOccurs, getName, getTransferData, getTransferDataFlavors, isDataFlavorSupported, setIcon, setKeyRef, setMaxOccurs, setMinOccurs, setName, setPath, setType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ComplexType(java.lang.String name)
| Method Detail |
|---|
public void addChild(Element name)
public void addChild(java.util.ArrayList list)
public void addChildAttribute(Attribute name)
public void addChildAttributes(java.util.ArrayList atts)
public java.lang.String getType()
getType in interface XSDOMObjgetType in class XSDOMObjectpublic java.lang.String getCons()
public java.lang.String getBaseType()
public java.util.ArrayList getChildren()
public java.util.ArrayList getChildAttributes()
public XSDOMObject getPrimaryKey()
public void setPrimaryKey(XSDOMObject primaryKey)
public void setBaseType(java.lang.String baseType)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||