EDU.utwente.CoCompose.lang
Class CompositeType
java.lang.Object
EDU.auburn.VGJ.graph.Node
EDU.utwente.CoCompose.lang.AbstractConcept
EDU.utwente.CoCompose.lang.ConstrainedConcept
EDU.utwente.CoCompose.lang.Composite
EDU.utwente.CoCompose.lang.CompositeType
- All Implemented Interfaces:
- java.lang.Cloneable, java.awt.image.ImageObserver, UniqueRealm
- public class CompositeType
- extends Composite
A Composite generalisation representing a common Composite type that can be
stored in the repository. This class is no longer used within the current
CoCompose repository. It is only used to import composites from the old
repository.
- Version:
- 0.1.22, 12 August 2004
- Author:
- Dennis Wagelaar
Fields inherited from class EDU.auburn.VGJ.graph.Node |
BELOW, CENTER, data, data_, defaultDataTypes_, defaults, depth_, groupActive_, groupbox_, groupNode_, groupNodeId_, grouppos_, haveId_, height_, id_, IN, inActiveGroup_, index_, isDummy_, isGroup_, label_, oldbox_, oldpos_, OVAL, RECTANGLE, shapeNames, width_, x_, y_, z_ |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary |
CompositeType()
Deprecated. Constructs a CompositeType. |
CompositeType(java.lang.String uri)
Deprecated. Constructs a CompositeType from an XML document. |
Method Summary |
void |
copyAttributes(Composite fromComposite)
Deprecated. Copies attributes from fromComposite to self. |
protected void |
startXML(org.xml.sax.helpers.DefaultHandler handler,
java.lang.String element,
org.xml.sax.helpers.AttributesImpl atts)
Deprecated. Create XML start from this object using a SAX DefaultHandler, element name
and given attributes. |
void |
toXML(org.xml.sax.helpers.DefaultHandler handler,
java.lang.String path)
Deprecated. Create an XML document from this object using a SAX DefaultHandler. |
Methods inherited from class EDU.utwente.CoCompose.lang.Composite |
accept, addImplementation, addPartConcept, addSolution, checkCompleteness, copyTypeAttributes, draw, drawIcon, getIcon, getImplementations, getImplementations, getPartConcept, getPartConcepts, getPublishedConcept, getPublishedConcepts, getRole, getRoles, getShowIconOnly, getSolutions, getType, getTypeUniqueRealm, hasImplementations, hasPartConcept, hasSolutions, imagePS, implementationsToXML, insertImplementation, insertSolution, isDependent, isUnique, publishedToXML, register, removeImplementation, removePartConcept, removeSolution, restoreOffsets, rolesToXML, saveOffsets, scale, setDefaults, setIcon, setLabel, setSelected, setShowIconOnly, setType, setTypeUniqueRealm, solutionsToXML, toPSimage, toXML, unRegister, updateAttributes, updateLangImplTable |
Methods inherited from class EDU.utwente.CoCompose.lang.AbstractConcept |
addPropertyChangeListener, alignToGrid, alignToGrid, commentsToXML, copyAttributes, drawLabel, drawSelected, drawShape, endXML, getComments, getCopiedFrom, getDefaultFillColor, getDrawBounds, getEdgeColor, getFillColor, getFirstCopiedFrom, getFontColor, getInstantiatedBy, getLastCopiedFrom, getModel, getName, getPartOf, getPublicName, getSelectColor, getSpecification, getSpecificationLang, getTargetLanguage, getUniqueRealm, gmlToXML, isCopiedFrom, notifyListeners, notifyNameChange, notifyRemovedFromModel, removePropertyChangeListener, scaleBounds, setComments, setEdgeColor, setFillColor, setFontColor, setId, setInstantiatedBy, setModel, setName, setPartOf, setPosition, setPosition, setPosition, setPosition, setSelectColor, setSpecification, setSpecificationLang, setUniqueRealm, slide, specToXML, toPS, toString, unRegister |
Methods inherited from class EDU.auburn.VGJ.graph.Node |
clearChild, clone, copyAttributes, firstChild, getBoundingBox, getBoundingBox3, getChildren, getDefaultLabel, getDrawBounds_, getId, getIdObject, getImage, getImagePixels, getImageSource, getImageType, getIndex, getLabel, getLabelPosition, getPosition, getPosition3, getSelected, getShape, getTemp, getVisibleGroupRoot, groupActive, hasChild, hasChild, imagePS, imageUpdate, inGroup, intersectWithLineTo, isGroup, isVisible, nextChild, numberOfChildren, PSnum_, psString_, saveState, searchNextChild, setBoundingBox, setBoundingBox, setBoundingBox, setBoundingBox, setChild, setContext, setDefaultLabel, setGMLvalues, setGroup, setImage, setImageSource, setImageType, setLabel, setLabelPosition, setShape, setTemp, setToolkit, toPSimage |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CompositeType
public CompositeType()
- Deprecated.
- Constructs a CompositeType.
CompositeType
public CompositeType(java.lang.String uri)
throws java.lang.Exception
- Deprecated.
- Constructs a CompositeType from an XML document.
- Parameters:
uri
- Location of the XML document.
- Throws:
java.lang.Exception
- if the CompositeType could not be created.
startXML
protected void startXML(org.xml.sax.helpers.DefaultHandler handler,
java.lang.String element,
org.xml.sax.helpers.AttributesImpl atts)
throws org.xml.sax.SAXException
- Deprecated.
- Create XML start from this object using a SAX DefaultHandler, element name
and given attributes.
- Overrides:
startXML
in class Composite
- Parameters:
handler
- The SAX DefaultHandler.element
- The XML element name.atts
- The XML element attributes.
- Throws:
org.xml.sax.SAXException
- if an XML handler error occurs.
copyAttributes
public void copyAttributes(Composite fromComposite)
throws CoComposeException
- Deprecated.
- Copies attributes from fromComposite to self.
- Overrides:
copyAttributes
in class Composite
- Parameters:
fromComposite
- The Composite to copy the attributes from.
- Throws:
CoComposeException
- if the copy could not be made.
toXML
public void toXML(org.xml.sax.helpers.DefaultHandler handler,
java.lang.String path)
throws org.xml.sax.SAXException
- Deprecated.
- Create an XML document from this object using a SAX DefaultHandler.
- Parameters:
handler
- The SAX DefaultHandler.path
- - the path to the XML file to be written or null.
- Throws:
org.xml.sax.SAXException
- if an XML handler error occurs.