|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectAdapterFactoryImpl
org.eclipse.gmt.modisco.xml.emf.util.MoDiscoXMLAdapterFactory
public class MoDiscoXMLAdapterFactory
The Adapter Factory for the model.
It provides an adapter createXXX method for each class of the model.
MoDiscoXMLPackage| Constructor Summary | |
|---|---|
MoDiscoXMLAdapterFactory()
Creates an instance of the adapter factory. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MoDiscoXMLAdapterFactory()
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||