Uses of Class
com.tensegrity.generic.persistence.BuildException

Packages that use BuildException
com.tensegrity.composite.coordinate Provides interfaces and classes for creating and dealing with coordinate systems. 
com.tensegrity.composite.geometry.persistence Provides interfaces and classes for making geometry attributes of composites persistent. 
com.tensegrity.composite.persistence Provides classes for making composite objects persistent. 
com.tensegrity.composite.style.persistence Provides classes for making style attributes persistent. 
com.tensegrity.generic.attribute Contains interfaces that define the attribute framework and its associated exceptions. 
com.tensegrity.generic.persistence Holds classes and interfaces useful to make instances of objects of the Tensegrity-API persistent.  
com.tensegrity.graph.element Element functions.  
com.tensegrity.graph.element.persistence Element persistance functions.  
com.tensegrity.graph.persistence GraphPersistence package.  
com.tensegrity.graph.rule.persistence This package contains the classes necessary to implement xml and attribute-based persistence for rules.  
com.tensegrity.graphics Contains basic classes and interfaces of the Tensegrity graphics framework.  
com.tensegrity.gui.document.persistence   
com.tensegrity.gui.graphdocument This package contains the GraphDocument interface, a Factory for creating such documents as well as a definition for a panel which may hold such documents.  
com.tensegrity.gui.graphdocument.persistence   
com.tensegrity.gui.swing.document This package contains all of the current document implementations for use in a swing-based environment.  
com.tensegrity.gui.swt.document   
com.tensegrity.gui.template   
 

Uses of BuildException in com.tensegrity.composite.coordinate
 

Methods in com.tensegrity.composite.coordinate that throw BuildException
static CoordinateSystem CoordinateSystemUtilities.createCoordinateSystem(AttributeList list, java.lang.String name)
          Method createCoordinateSystem creates a CoordinateSystem from the given list of double values.
static java.lang.String CoordinateSystemUtilities.getCanonicalDescription(AttributeList list, java.lang.String name)
          Method createCoordinateSystem creates a canonical description from the given list of double values.
static java.lang.String CoordinateSystemUtilities.getCanonicalDescription(AttributeList list)
          Method createCoordinateSystem creates a canonical description from the given list of double values.
 

Uses of BuildException in com.tensegrity.composite.geometry.persistence
 

Methods in com.tensegrity.composite.geometry.persistence that throw BuildException
 java.lang.Object GeometryItemBuilder.build(AttributeList attributes)
           
 java.lang.Object GeometryDescriptorBuilder.build(AttributeList attributes)
           
protected  CoordinateSystem GeometryDescriptorBuilder.createCoordinateSystem(AttributeList list)
          Creates a CoordinateSystem from the given list of double values.
protected  int GeometryDescriptorBuilder.getType(java.lang.String s)
          Returns the int constant descriptor type for a given String from a XML file.
 java.lang.Object GeometryDescriptorItemBuilder.build(AttributeList attributes)
           
static GeometryItemCoordinates GeometryDescriptorItemBuilder.getCoordinates(AttributeList list)
          Returns an instance of GeometryItemCoordinates with all the coordinates from the given AttributeList.
protected  GeometryItem GeometryDescriptorItemBuilder.getGeometryItem(java.lang.String name)
          Method getGeometryItem returns the GeometryItem with the given name from the GeometryItemPool.
 

Uses of BuildException in com.tensegrity.composite.persistence
 

Methods in com.tensegrity.composite.persistence that throw BuildException
static CompositeConstants.ListBuilderElement CompositeConstants.getCompositeGroupListAndTag(AttributeList list)
          Returns a tuple containing the CompositeGroup AttributeList which is within the given AttributeList and the tag field of that specific Group.
 java.lang.Object CompositeBuilder.build(AttributeList list)
          Creates a composite instance from the given AttributeList.
protected  void CompositeBuilder.setCompositeAttributes(Composite composite, AttributeList list)
          This method sets the size and flags of the given composite according to the values read from the given AttributeList.
protected  void CompositeBuilder.addPrimitives(Composite composite, AttributeList list)
          Adds the Primitives given in the AttributeList to this group.
protected  boolean CompositeBuilder.readFlag(AttributeList list, java.lang.String name)
          Method readFlag reads the flag identified by the parameter name from the given list and returns the integral boolean value.
protected  boolean CompositeBuilder.readFlagMayBeNull(AttributeList list, java.lang.String name, boolean defaultValue)
          Reads a attribute representing a flag from the given AttributeList and returns the value as integral boolean.
protected  Size CompositeBuilder.getSize(AttributeList list, java.lang.String attributename)
          Method getSize returns a new Size instance from the SIZE attribute.
protected  Size CompositeBuilder.getSizeMayBeNull(AttributeList list, java.lang.String attributename)
          Returns a Size instance read from the given AttributeList or null.
protected  Coordinate CompositeBuilder.getLocation(AttributeList list)
          Method getLocation returns a Coordinate from the LOCATION Attribute.
 java.lang.Object CompositeGroupBuilder.build(AttributeList list)
           
protected  void CompositeGroupBuilder.setGroupAttributes(CompositeGroup group, AttributeList list)
          Applies the attributes from the given list to the given group.
protected  Size CompositeGroupBuilder.getSize(AttributeList list, java.lang.String attributeName)
          Returns an instance of Size created by the passed AttributeList elements.
protected  Size CompositeGroupBuilder.getSizeMayBeNull(AttributeList list, java.lang.String attributeName, Size defaultValue)
          This method returns an instance of size read from the given AttributeList.
protected  Anchor CompositeGroupBuilder.getAnchorMayBeNull(AttributeList list, java.lang.String attributename)
           
 java.lang.Object CompositeSwimLaneBuilder.build(AttributeList list)
           
 java.lang.Object CompositeSwimLanePoolBuilder.build(AttributeList list)
           
 java.lang.Object CompositeLabelBuilder.build(AttributeList list)
          Builds a CompositeLabel from the given AttributeList.
 java.lang.Object CompositeLineBuilder.build(AttributeList list)
           
 java.lang.Object CompositeTableBuilder.build(AttributeList list)
           
protected  void CompositeTableBuilder.setGroupAttributes(CompositeTable group, AttributeList list)
          Applies the attributes from the given list to the given group.
protected  Size CompositeTableBuilder.getSizeMayBeNull(AttributeList list, java.lang.String attributeName, Size defaultValue)
          This method returns an instance of size read from the given AttributeList.
static void FormatIDMap.readFormats(AttributeList list)
           
 

Uses of BuildException in com.tensegrity.composite.style.persistence
 

Subclasses of BuildException in com.tensegrity.composite.style.persistence
 class StyleItemNotFoundException
          Describes the error, when a required StyleItem was not found when needed.
 

Methods in com.tensegrity.composite.style.persistence that throw BuildException
 java.lang.Object StyleDescriptorBuilder.build(AttributeList attributes)
           
protected  int StyleDescriptorBuilder.getType(java.lang.String s)
          This method returns the Composite Constant integer for a given string.
protected  java.util.List StyleDescriptorBuilder.getItems(AttributeList list)
          Method getItems returns all stored StyleDescriptorItems of this StyleDescriptor.
 java.lang.Object StyleItemBuilder.build(AttributeList attributes)
           
protected  AttributeSet StyleItemBuilder.convertSet(AttributeSet set)
          Method convertSet creates an AttributeSet from a given set of Formats.
 java.lang.Object StyleDescriptorItemBuilder.build(AttributeList attributes)
           
 

Uses of BuildException in com.tensegrity.generic.attribute
 

Methods in com.tensegrity.generic.attribute that throw BuildException
static AttributeSet AttributePersistenceUtilities.createCustomAttributes(AttributeList graphobjectlist)
          Creates an AttributeSet holding custom Attributes from the AttributeList of serialized Attributes given by graphobjectlist.
 

Uses of BuildException in com.tensegrity.generic.persistence
 

Methods in com.tensegrity.generic.persistence that throw BuildException
static void BuilderUtilities.assertNotNull(java.lang.Object value, AttributeCollection attributes, java.lang.String attributeName)
          Method assertNotNull checks whether a given object is not null and throws a BuildException with a detailed error message.
static void BuilderUtilities.assertNotNull(Attribute attribute, AttributeCollection attributes, java.lang.String attributeName)
          Method assertNotNull checks whether a given Attribute is not null and throws a BuildException with a detailed error message.
static void BuilderUtilities.assertContains(AttributeCollection attributes, java.lang.String name)
          This method verifies whether a given AttributeCollection contains an Attribute with the given name.
static void BuilderUtilities.assertContains(AttributeCollection attributes, java.lang.String[] names)
          Method assertContains verifies whether a list of attributes identified by the list of names are in a given AttributeCollection.
static void BuilderUtilities.assertContains(AttributeCollection attributes, java.lang.String[] names, int atleast)
          Method assertContains verifies if an AttributeCollection contains a certain amount of Attributes identified by the given list of names.
static void BuilderUtilities.assertContainsMax(AttributeCollection attributes, java.lang.String[] names, int max)
          Checks whether a given AttributeCollection contains more than max attributes with the specified name.
static Attribute BuilderUtilities.getAttribute(AttributeList list, java.lang.String name, boolean doAssertNotNull)
          Method to ease the Attribute retrieval on AttributeLists.
static java.lang.Object BuilderUtilities.getAttributeValue(AttributeList list, java.lang.String name, java.lang.Class type)
          Method to ease the Attribute value retrieval on AttributeLists.
static java.lang.String BuilderUtilities.getAttributeValueMayBeNull(AttributeList list, java.lang.String name)
          This method uses the BuilderUtilities.getAttributeValueMayBeNull(AttributeList, String, Class) method but assumes that the retrieve value is of type String.
static java.lang.Object BuilderUtilities.getAttributeValueMayBeNull(AttributeList list, java.lang.String name, java.lang.Class type)
          Method to ease the Attribute value retrieval on AttributeList instances.
static java.lang.Object BuilderUtilities.getAttributeValue(AttributeList list, java.lang.String name, java.lang.Class type, boolean doAssertNotNull)
          Method to ease the Attribute value retrieval on AttributeLists.
 java.lang.Object Builder.build(AttributeList attributes)
          Builds an object from the given AttributeList by reading all required Attributes and its values and creating the object from.
 

Uses of BuildException in com.tensegrity.graph.element
 

Methods in com.tensegrity.graph.element that throw BuildException
static void ElementService.loadElementsFromAttributes(AttributeList list)
          This method will load the elements from the given attribute list
static boolean ElementService.checkLocationsTag(java.lang.String elementURL)
          Method checkLocationsTag checks whether the given element file contains the location tag and returns true.
static java.lang.String ElementService.getElementsName(java.lang.String elementURL)
          Reads the ElementConstants.ELEMENTSNAME attribute from the given element file and returns it as String.
static ElementService.Locations ElementService.getLocations(java.lang.String elementURL)
          Method getLocations reads all optional locations of the given element file and returns an instance of class Locations or null if no such attributes are found.
 

Uses of BuildException in com.tensegrity.graph.element.persistence
 

Methods in com.tensegrity.graph.element.persistence that throw BuildException
 java.lang.Object CustomAttributeSetElementBuilder.build(AttributeList attributes)
           
 java.lang.Object NodeElementBuilder.build(AttributeList attributes)
           
 java.lang.Object EdgeElementBuilder.build(AttributeList attributes)
           
 

Uses of BuildException in com.tensegrity.graph.persistence
 

Methods in com.tensegrity.graph.persistence that throw BuildException
static VisualGraphView GraphPersistence.readVisualGraphView(java.io.InputStream in)
          Reads a VisualGraphView from the InputStream given by in and returns it.
static VisualGraphView GraphPersistence.readVisualGraphView(java.io.InputStream in, ViewBuilderFilter listener)
          Reads a VisualGraphView from the given InputStream and uses the ViewBuilderFilter.
static VisualGraphView GraphPersistence.readVisualGraphView(java.io.InputStream in, ViewBuilderFilter listener, Attribute outAttributeList)
          Reads a VisualGraphView from the given InputStream and uses the ViewBuilderFilter.
static VisualGraphView GraphPersistence.readVisualGraphView(AttributeList list, ViewBuilderFilter listener)
          Reads a VisualGraphView from the given InputStream and uses the ViewBuilderFilter.
static VisualGraphView GraphPersistence.readVisualGraphView(java.io.File file)
          Reads a VisualGraphView from the File given by file and returns it.
static VisualGraphView GraphPersistence.readVisualGraphView(java.io.File file, ViewBuilderFilter listener)
          Reads a VisualGraphView from the File given by file and returns it.
static AttributeList GraphPersistence.getStyles(AttributeList list, boolean remove)
          Returns the styles attribute list from the attribute list loaded from a graph xml file.
static AttributeList GraphPersistence.getRules(AttributeList list, boolean remove)
          Returns the rules attribute list from the attribute list loaded from a graph xml file.
static AttributeList GraphPersistence.getGeometries(AttributeList list, boolean remove)
          Returns the geometries attribute list from the attribute list loaded from a graph xml file.
static AttributeList GraphPersistence.getImages(AttributeList list, boolean remove)
          Returns the images attribute list from the attribute list loaded from a graph xml file.
static AttributeSet GraphPersistence.getLayoutConfiguration(AttributeList list, boolean remove)
          Returns the LayoutConfiguration AttributeSet of the given AttributeList.
static RuleRegistry GraphPersistence.readRules(AttributeList list)
          Method readRules reads the rule elements and creates a new RuleRegistry.
 

Uses of BuildException in com.tensegrity.graph.rule.persistence
 

Methods in com.tensegrity.graph.rule.persistence that throw BuildException
 java.lang.Object RuleBuilder.build(AttributeList attributes)
           
 

Uses of BuildException in com.tensegrity.graphics
 

Methods in com.tensegrity.graphics that throw BuildException
static PaintFormat FormatUtilities.createPaintFormat(AttributeSet set)
          This method creates a PaintFormat by using the FormatPool's parsePaintFormat method.
static java.lang.String FormatUtilities.getCanonicalPaintDescription(AttributeSet set)
          Creates a canonical description for the PaintFormat defined by the given AttributeSet.
static TextFormatter FormatUtilities.createTextFormatter(AttributeSet set)
          Creates a TextFormatter instance from the AttributeSet given by set.
static FontFormat FormatUtilities.createFontFormat(AttributeSet set)
          Creates a FontFormat by using the FormatPool's parseFontFormat method.
static java.lang.String FormatUtilities.getCanonicalFontDescription(AttributeSet set)
          Creates a canonical description for the FontFormat defined by the given AttributeSet.
static StrokeFormat FormatUtilities.createStrokeFormat(AttributeSet set)
          Creates a StrokeFormat by using the FormatPool's parseStrokeFormat method.
static java.lang.String FormatUtilities.getCanonicalStrokeDescription(AttributeSet set)
          Creates a canonical description for the StrokeFormat defined by the given AttributeSet.
static MarkerFormat FormatUtilities.createMarkerFormat(AttributeSet set)
          Creates a MarkerFormat instance from the given AttributeSet.
static java.lang.String FormatUtilities.getCanonicalMarkerDescription(AttributeSet set)
          Creates a canonical description for the MarkerFormat defined by the given AttributeSet.
static int FormatUtilities.getIdentifier(java.lang.String[] types, int[] identifier, java.lang.String token)
          Method getIdentifier returns the first matching identifier from the parameter identifier array.
static AttributeSet FormatUtilities.fillInCanonicalDescriptions(AttributeSet set)
          Replaces all AttributeSet representations of formats or instances of FontFormat, PaintFormat, MarkerFormat or StrokeFormat by their corresponding canonical description.
 

Uses of BuildException in com.tensegrity.gui.document.persistence
 

Methods in com.tensegrity.gui.document.persistence that throw BuildException
 boolean DocumentReader.readDocument(Document doc, java.io.InputStream input)
          Reads data from the input stream to build the contents of the given (empty) document.
 

Uses of BuildException in com.tensegrity.gui.graphdocument
 

Methods in com.tensegrity.gui.graphdocument that throw BuildException
static void ElementDefinitionUtil.applyGeometries(AttributeList geometries, java.util.List[] geometryConflicts, VisualGraphView vgv, AttributeList xmlData, int applyAction, java.util.Map renameMapDesc, java.util.Map renameMapItem)
          Applies the geometry in the given attribute list according to the applyAction.
static void ElementDefinitionUtil.applyStyles(AttributeList styles, java.util.List[] styleConflicts, VisualGraphView vgv, AttributeList xmlData, int applyAction, RepositoryContainer repository, java.util.List visualGraphViews, java.util.Map renameMapDesc, java.util.Map renameMapItem)
          Applies the geometry in the given attribute list according to the applyAction.
 

Uses of BuildException in com.tensegrity.gui.graphdocument.persistence
 

Methods in com.tensegrity.gui.graphdocument.persistence that throw BuildException
 boolean GraphDocumentReader.readDocument(Document doc, java.io.InputStream input)
           
protected  void GraphDocumentReader.loadData(GraphDocument graphdocument, java.io.InputStream input)
          Method loadData reads a VisualGraphView from a given file by using the appropriate Builder instances.
protected  VisualGraphView GraphDocumentReader.loadVisualGraphView(GraphDocument graphdocument)
          Method openXMLFile reads a VisualGraphView from a given file by using the appropriate Builder instances.
 

Uses of BuildException in com.tensegrity.gui.swing.document
 

Methods in com.tensegrity.gui.swing.document that throw BuildException
 boolean SwingGraphDocumentReader.readDocument(Document doc, java.io.InputStream input)
           
 

Uses of BuildException in com.tensegrity.gui.swt.document
 

Methods in com.tensegrity.gui.swt.document that throw BuildException
 boolean SwtGraphDocumentReader.readDocument(Document doc, java.io.InputStream input)
           
 

Uses of BuildException in com.tensegrity.gui.template
 

Methods in com.tensegrity.gui.template that throw BuildException
 java.lang.Object TemplateBuilder.build(AttributeList list)
           
 



Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.