|
||||||||||
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.
Node
public 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.
Attribute
public 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.
Text
public 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.
Element
public 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.
Root
public 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.
Namespace
public 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.
Comment
public 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.
DocumentTypeDeclaration
public 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.
CDATA
public 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.
ProcessingInstruction
public Adapter createEObjectAdapter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |