com.ibm.xtools.uml.msl.internal.index
Class UMLIndexSAXXMIHandler
java.lang.Object
IndexSAXXMIHandler
com.ibm.xtools.uml.msl.internal.index.UMLIndexSAXXMIHandler
public class UMLIndexSAXXMIHandler
- extends IndexSAXXMIHandler
A subclass of the IndexSAXXMIHandler. This implementation
throws a AbortParsingException when parsing artifacts that
dont have any processing instructions. This is to support the migration of
the older version artifacts to the newer version by loading the resource and
going through the backward compatability infrastructure
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UMLIndexSAXXMIHandler
public UMLIndexSAXXMIHandler(IndexContext context,
XMLResource xmiResource,
ResourceSet resourceSet,
IIndexWriter indexWriter,
IProgressMonitor monitor)
- Constructor
- Parameters:
xmiResource - the resourceresourceSet - the resource setmonitor - the progress monitor
processingInstruction
public void processingInstruction(String target,
String data)
startElement
public void startElement(String uri,
String localName,
String name)
setEReferenceValueFromHREF
protected void setEReferenceValueFromHREF(EObjectEntry peekObject,
EReference reference,
String uriLiteral)
setEReferenceValueFromURI
protected void setEReferenceValueFromURI(EObjectEntry object,
EReference reference,
URI uri)
handleFeature
protected void handleFeature(String prefix,
String name)
© Copyright IBM Corp. 2009. All rights reserved.