|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.eclipse.cosmos.rm.validation.internal.databuilders.AbstractDataBuilder
org.eclipse.cosmos.rm.validation.internal.databuilders.ElementTypeMapDataBuilder
public class ElementTypeMapDataBuilder
Constructs a map that stores the relationship between the element names and their associated type.
| Field Summary | |
|---|---|
static java.lang.String |
ID
The ID of this builder |
| Fields inherited from class org.eclipse.cosmos.rm.validation.internal.databuilders.AbstractDataBuilder |
|---|
locator |
| Constructor Summary | |
|---|---|
ElementTypeMapDataBuilder()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getDataStructure()
An object of type ElementTypeMap which indicates the element name
and type relationship. |
byte |
getPhase()
Specifies the phase that this data builder is active during parsing. |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
This is used to determine the target name space of the document currently being parsed |
| 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.xml.sax.ContentHandler |
|---|
characters, endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, skippedEntity, startDocument, startPrefixMapping |
| Field Detail |
|---|
public static final java.lang.String ID
| Constructor Detail |
|---|
public ElementTypeMapDataBuilder()
| Method Detail |
|---|
public void startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
throws org.xml.sax.SAXException
AbstractDataBuilder
startElement in interface org.xml.sax.ContentHandlerstartElement in class AbstractDataBuilderorg.xml.sax.SAXExceptionDefaultHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)public java.lang.Object getDataStructure()
ElementTypeMap which indicates the element name
and type relationship.
ElementTypeMap,
IDataBuilder.getDataStructure()public byte getPhase()
IDataBuilderISMLConstants.DEFINITIONS_PHASE -databuilder is active during the parsing of the definitions elements ISMLConstants.INSTANCES_PHASE -databuilder is active during the parsing of the instances elements ISMLConstants.DEFINITIONS_INSTANCES_PHASE - databuilder is active during the parsing of the definitions and instances elements
getPhase in interface IDataBuildergetPhase in class AbstractDataBuilderIDataBuilder.getPhase()
|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||