public class MoDiscoXMLAdapterFactory
extends AdapterFactoryImpl
createXXX method for each class of the model.
MoDiscoXMLPackage| Constructor and Description |
|---|
MoDiscoXMLAdapterFactory()
Creates an instance of the adapter factory.
|
| Modifier and Type | Method and Description |
|---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target. |
Adapter |
createAttributeAdapter()
Creates a new adapter for an object of class '
Attribute'. |
Adapter |
createCDATAAdapter()
Creates a new adapter for an object of class '
CDATA'. |
Adapter |
createCommentAdapter()
Creates a new adapter for an object of class '
Comment'. |
Adapter |
createDocumentTypeDeclarationAdapter()
Creates a new adapter for an object of class '
Document Type Declaration'. |
Adapter |
createElementAdapter()
Creates a new adapter for an object of class '
Element'. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createNamespaceAdapter()
Creates a new adapter for an object of class '
Namespace'. |
Adapter |
createNodeAdapter()
Creates a new adapter for an object of class '
Node'. |
Adapter |
createProcessingInstructionAdapter()
Creates a new adapter for an object of class '
Processing Instruction'. |
Adapter |
createRootAdapter()
Creates a new adapter for an object of class '
Root'. |
Adapter |
createTextAdapter()
Creates a new adapter for an object of class '
Text'. |
boolean |
isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object.
|
public MoDiscoXMLAdapterFactory()
public boolean isFactoryForType(java.lang.Object object)
true if the object is either the model's package or is an instance object of the model.
public Adapter createAdapter(Notifier target)
target.
target - the object to adapt.target.public Adapter createNodeAdapter()
Node'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Nodepublic Adapter createAttributeAdapter()
Attribute'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Attributepublic Adapter createTextAdapter()
Text'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Textpublic Adapter createElementAdapter()
Element'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Elementpublic Adapter createRootAdapter()
Root'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Rootpublic Adapter createNamespaceAdapter()
Namespace'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Namespacepublic Adapter createCommentAdapter()
Comment'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Commentpublic Adapter createDocumentTypeDeclarationAdapter()
Document Type Declaration'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
DocumentTypeDeclarationpublic Adapter createCDATAAdapter()
CDATA'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
CDATApublic Adapter createProcessingInstructionAdapter()
Processing Instruction'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ProcessingInstructionpublic Adapter createEObjectAdapter()