COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification

org.eclipse.cosmos.rm.validation.internal.databuilders
Class TargetElementBuilder

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.eclipse.cosmos.rm.validation.internal.databuilders.AbstractDataBuilder
          extended by org.eclipse.cosmos.rm.validation.internal.databuilders.AbstractPropertyExtractor
              extended by org.eclipse.cosmos.rm.validation.internal.databuilders.TargetElementBuilder
All Implemented Interfaces:
IDataBuilder, org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class TargetElementBuilder
extends AbstractPropertyExtractor

This builder will build a datastructure that will contian all elements with a targetelement attribute


Field Summary
static java.lang.String ID
          The id of this builder
 
Fields inherited from class org.eclipse.cosmos.rm.validation.internal.databuilders.AbstractPropertyExtractor
elementName
 
Fields inherited from class org.eclipse.cosmos.rm.validation.internal.databuilders.AbstractDataBuilder
locator
 
Constructor Summary
TargetElementBuilder()
           
 
Method Summary
 java.lang.Object getDataStructure()
          Returns the data structure.
 
Methods inherited from class org.eclipse.cosmos.rm.validation.internal.databuilders.AbstractPropertyExtractor
getMapDataStructure, getPhase, getValueToStoreNS, startElement
 
Methods inherited from class org.eclipse.cosmos.rm.validation.internal.databuilders.AbstractDataBuilder
appendToErrorMessage, comment, endDefinitions, endElement, endInstances, getCurrentPhase, getDefaultNamespace, getErrorMessage, getFilePath, getPrefixMap, getTargetNamespace, isStructureValid, setDefaultNamespace, setDocumentLocator, setErrorMessage, setFilePath, setPrefixMap, setStructureValidity, setTargetNamespace, startDefinitions, startInstances, tokenizeName
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.cosmos.rm.validation.internal.databuilders.IDataBuilder
endDefinitions, endInstances, getErrorMessage, getFilePath, isStructureValid, setErrorMessage, setFilePath, setStructureValidity, startDefinitions, startInstances
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
 

Field Detail

ID

public static final java.lang.String ID
The id of this builder

See Also:
Constant Field Values
Constructor Detail

TargetElementBuilder

public TargetElementBuilder()
Method Detail

getDataStructure

public java.lang.Object getDataStructure()
Description copied from interface: IDataBuilder
Returns the data structure. The type of the structure must be specified as part of the specification of the class that implements this interface.

Specified by:
getDataStructure in interface IDataBuilder
Overrides:
getDataStructure in class AbstractPropertyExtractor
Returns:
The data structure
See Also:
AbstractPropertyExtractor.getDataStructure()

COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification