Package org.w3._2001.schema.util
Class SchemaAdapterFactory
Object
AdapterFactoryImpl
SchemaAdapterFactory
- All Implemented Interfaces:
- AdapterFactory
public class SchemaAdapterFactory
extends AdapterFactoryImpl
 The Adapter Factory for the model.
 It provides an adapter 
createXXX method for each class of the model.
 - See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static SchemaPackageThe cached model package.protected SchemaSwitch<Adapter>The switch that delegates to thecreateXXXmethods.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionAdaptercreateAdapter(Notifier target) Creates an adapter for thetarget.AdapterCreates a new adapter for an object of class 'All'.AdapterCreates a new adapter for an object of class 'Annotated'.AdapterCreates a new adapter for an object of class 'Annotation Type'.AdapterCreates a new adapter for an object of class 'Any Type'.AdapterCreates a new adapter for an object of class 'Appinfo Type'.AdapterCreates a new adapter for an object of class 'Attribute'.AdapterCreates a new adapter for an object of class 'Attribute Group'.AdapterCreates a new adapter for an object of class 'Attribute Group Ref'.AdapterCreates a new adapter for an object of class 'Complex Content Type'.AdapterCreates a new adapter for an object of class 'Complex Restriction Type'.AdapterCreates a new adapter for an object of class 'Complex Type'.AdapterCreates a new adapter for an object of class 'Documentation Type'.AdapterCreates a new adapter for an object of class 'Document Root'.AdapterCreates a new adapter for an object of class 'Element'.AdapterCreates a new adapter for the default case.AdapterCreates a new adapter for an object of class 'Explicit Group'.AdapterCreates a new adapter for an object of class 'Extension Type'.AdapterCreates a new adapter for an object of class 'Facet'.AdapterCreates a new adapter for an object of class 'Field Type'.AdapterCreates a new adapter for an object of class 'Group'.AdapterCreates a new adapter for an object of class 'Group Ref'.AdapterCreates a new adapter for an object of class 'Import Type'.AdapterCreates a new adapter for an object of class 'Include Type'.AdapterCreates a new adapter for an object of class 'Keybase'.AdapterCreates a new adapter for an object of class 'Keyref Type'.AdapterCreates a new adapter for an object of class 'List Type'.AdapterCreates a new adapter for an object of class 'Local Complex Type'.AdapterCreates a new adapter for an object of class 'Local Element'.AdapterCreates a new adapter for an object of class 'Local Simple Type'.AdapterCreates a new adapter for an object of class 'Named Attribute Group'.AdapterCreates a new adapter for an object of class 'Named Group'.AdapterCreates a new adapter for an object of class 'Narrow Max Min'.AdapterCreates a new adapter for an object of class 'No Fixed Facet'.AdapterCreates a new adapter for an object of class 'Notation Type'.AdapterCreates a new adapter for an object of class 'Num Facet'.AdapterCreates a new adapter for an object of class 'Open Attrs'.AdapterCreates a new adapter for an object of class 'Pattern Type'.AdapterCreates a new adapter for an object of class 'Real Group'.AdapterCreates a new adapter for an object of class 'Redefine Type'.AdapterCreates a new adapter for an object of class 'Restriction Type1'.AdapterCreates a new adapter for an object of class 'Restriction Type'.AdapterCreates a new adapter for an object of class 'Type'.AdapterCreates a new adapter for an object of class 'Selector Type'.AdapterCreates a new adapter for an object of class 'Simple Content Type'.AdapterCreates a new adapter for an object of class 'Simple Explicit Group'.AdapterCreates a new adapter for an object of class 'Simple Extension Type'.AdapterCreates a new adapter for an object of class 'Simple Restriction Type'.AdapterCreates a new adapter for an object of class 'Simple Type'.AdapterCreates a new adapter for an object of class 'Top Level Attribute'.AdapterCreates a new adapter for an object of class 'Top Level Complex Type'.AdapterCreates a new adapter for an object of class 'Top Level Element'.AdapterCreates a new adapter for an object of class 'Top Level Simple Type'.AdapterCreates a new adapter for an object of class 'Total Digits Type'.AdapterCreates a new adapter for an object of class 'Union Type'.AdapterCreates a new adapter for an object of class 'White Space Type'.AdapterCreates a new adapter for an object of class 'Wildcard'.booleanisFactoryForType(Object object) Returns whether this factory is applicable for the type of the object.Methods inherited from class AdapterFactoryImpladapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve
- 
Field Details- 
modelPackageThe cached model package.
- 
modelSwitchThe switch that delegates to thecreateXXXmethods.
 
- 
- 
Constructor Details- 
SchemaAdapterFactorypublic SchemaAdapterFactory()Creates an instance of the adapter factory.
 
- 
- 
Method Details- 
isFactoryForTypeReturns whether this factory is applicable for the type of the object. This implementation returnstrueif the object is either the model's package or is an instance object of the model.- Specified by:
- isFactoryForTypein interface- AdapterFactory
- Overrides:
- isFactoryForTypein class- AdapterFactoryImpl
- Returns:
- whether this factory is applicable for the type of the object.
 
- 
createAdapterpublic Adapter createAdapter(Notifier target) Creates an adapter for thetarget.- Overrides:
- createAdapterin class- AdapterFactoryImpl
- Parameters:
- target- the object to adapt.
- Returns:
- the adapter for the target.
 
- 
createAllAdapterpublic Adapter createAllAdapter()Creates a new adapter for an object of class 'All'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createAnnotatedAdapterpublic Adapter createAnnotatedAdapter()Creates a new adapter for an object of class 'Annotated'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createAnnotationTypeAdapterpublic Adapter createAnnotationTypeAdapter()Creates a new adapter for an object of class 'Annotation Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createAnyTypeAdapterpublic Adapter createAnyTypeAdapter()Creates a new adapter for an object of class 'Any Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createAppinfoTypeAdapterpublic Adapter createAppinfoTypeAdapter()Creates a new adapter for an object of class 'Appinfo Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createAttributeAdapterpublic Adapter createAttributeAdapter()Creates a new adapter for an object of class '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.- Returns:
- the new adapter.
- See Also:
 
- 
createAttributeGroupAdapterpublic Adapter createAttributeGroupAdapter()Creates a new adapter for an object of class 'Attribute Group'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createAttributeGroupRefAdapterpublic Adapter createAttributeGroupRefAdapter()Creates a new adapter for an object of class 'Attribute Group Ref'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createComplexContentTypeAdapterpublic Adapter createComplexContentTypeAdapter()Creates a new adapter for an object of class 'Complex Content Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createComplexRestrictionTypeAdapterpublic Adapter createComplexRestrictionTypeAdapter()Creates a new adapter for an object of class 'Complex Restriction Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createComplexTypeAdapterpublic Adapter createComplexTypeAdapter()Creates a new adapter for an object of class 'Complex Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createDocumentationTypeAdapterpublic Adapter createDocumentationTypeAdapter()Creates a new adapter for an object of class 'Documentation Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createDocumentRootAdapterpublic Adapter createDocumentRootAdapter()Creates a new adapter for an object of class 'Document 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.- Returns:
- the new adapter.
- See Also:
 
- 
createElementAdapterpublic Adapter createElementAdapter()Creates a new adapter for an object of class '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.- Returns:
- the new adapter.
- See Also:
 
- 
createExplicitGroupAdapterpublic Adapter createExplicitGroupAdapter()Creates a new adapter for an object of class 'Explicit Group'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createExtensionTypeAdapterpublic Adapter createExtensionTypeAdapter()Creates a new adapter for an object of class 'Extension Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createFacetAdapterpublic Adapter createFacetAdapter()Creates a new adapter for an object of class 'Facet'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createFieldTypeAdapterpublic Adapter createFieldTypeAdapter()Creates a new adapter for an object of class 'Field Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createGroupAdapterpublic Adapter createGroupAdapter()Creates a new adapter for an object of class 'Group'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createGroupRefAdapterpublic Adapter createGroupRefAdapter()Creates a new adapter for an object of class 'Group Ref'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createImportTypeAdapterpublic Adapter createImportTypeAdapter()Creates a new adapter for an object of class 'Import Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createIncludeTypeAdapterpublic Adapter createIncludeTypeAdapter()Creates a new adapter for an object of class 'Include Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createKeybaseAdapterpublic Adapter createKeybaseAdapter()Creates a new adapter for an object of class 'Keybase'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createKeyrefTypeAdapterpublic Adapter createKeyrefTypeAdapter()Creates a new adapter for an object of class 'Keyref Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createListTypeAdapterpublic Adapter createListTypeAdapter()Creates a new adapter for an object of class 'List Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createLocalComplexTypeAdapterpublic Adapter createLocalComplexTypeAdapter()Creates a new adapter for an object of class 'Local Complex Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createLocalElementAdapterpublic Adapter createLocalElementAdapter()Creates a new adapter for an object of class 'Local 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.- Returns:
- the new adapter.
- See Also:
 
- 
createLocalSimpleTypeAdapterpublic Adapter createLocalSimpleTypeAdapter()Creates a new adapter for an object of class 'Local Simple Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createNamedAttributeGroupAdapterpublic Adapter createNamedAttributeGroupAdapter()Creates a new adapter for an object of class 'Named Attribute Group'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createNamedGroupAdapterpublic Adapter createNamedGroupAdapter()Creates a new adapter for an object of class 'Named Group'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createNarrowMaxMinAdapterpublic Adapter createNarrowMaxMinAdapter()Creates a new adapter for an object of class 'Narrow Max Min'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createNoFixedFacetAdapterpublic Adapter createNoFixedFacetAdapter()Creates a new adapter for an object of class 'No Fixed Facet'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createNotationTypeAdapterpublic Adapter createNotationTypeAdapter()Creates a new adapter for an object of class 'Notation Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createNumFacetAdapterpublic Adapter createNumFacetAdapter()Creates a new adapter for an object of class 'Num Facet'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createOpenAttrsAdapterpublic Adapter createOpenAttrsAdapter()Creates a new adapter for an object of class 'Open Attrs'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createPatternTypeAdapterpublic Adapter createPatternTypeAdapter()Creates a new adapter for an object of class 'Pattern Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createRealGroupAdapterpublic Adapter createRealGroupAdapter()Creates a new adapter for an object of class 'Real Group'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createRedefineTypeAdapterpublic Adapter createRedefineTypeAdapter()Creates a new adapter for an object of class 'Redefine Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createRestrictionTypeAdapterpublic Adapter createRestrictionTypeAdapter()Creates a new adapter for an object of class 'Restriction Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createRestrictionType1Adapterpublic Adapter createRestrictionType1Adapter()Creates a new adapter for an object of class 'Restriction Type1'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createSchemaTypeAdapterpublic Adapter createSchemaTypeAdapter()Creates a new adapter for an object of class 'Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createSelectorTypeAdapterpublic Adapter createSelectorTypeAdapter()Creates a new adapter for an object of class 'Selector Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createSimpleContentTypeAdapterpublic Adapter createSimpleContentTypeAdapter()Creates a new adapter for an object of class 'Simple Content Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createSimpleExplicitGroupAdapterpublic Adapter createSimpleExplicitGroupAdapter()Creates a new adapter for an object of class 'Simple Explicit Group'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createSimpleExtensionTypeAdapterpublic Adapter createSimpleExtensionTypeAdapter()Creates a new adapter for an object of class 'Simple Extension Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createSimpleRestrictionTypeAdapterpublic Adapter createSimpleRestrictionTypeAdapter()Creates a new adapter for an object of class 'Simple Restriction Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createSimpleTypeAdapterpublic Adapter createSimpleTypeAdapter()Creates a new adapter for an object of class 'Simple Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createTopLevelAttributeAdapterpublic Adapter createTopLevelAttributeAdapter()Creates a new adapter for an object of class 'Top Level 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.- Returns:
- the new adapter.
- See Also:
 
- 
createTopLevelComplexTypeAdapterpublic Adapter createTopLevelComplexTypeAdapter()Creates a new adapter for an object of class 'Top Level Complex Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createTopLevelElementAdapterpublic Adapter createTopLevelElementAdapter()Creates a new adapter for an object of class 'Top Level 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.- Returns:
- the new adapter.
- See Also:
 
- 
createTopLevelSimpleTypeAdapterpublic Adapter createTopLevelSimpleTypeAdapter()Creates a new adapter for an object of class 'Top Level Simple Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createTotalDigitsTypeAdapterpublic Adapter createTotalDigitsTypeAdapter()Creates a new adapter for an object of class 'Total Digits Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createUnionTypeAdapterpublic Adapter createUnionTypeAdapter()Creates a new adapter for an object of class 'Union Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createWhiteSpaceTypeAdapterpublic Adapter createWhiteSpaceTypeAdapter()Creates a new adapter for an object of class 'White Space Type'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createWildcardAdapterpublic Adapter createWildcardAdapter()Creates a new adapter for an object of class 'Wildcard'. 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.- Returns:
- the new adapter.
- See Also:
 
- 
createEObjectAdapterpublic Adapter createEObjectAdapter()Creates a new adapter for the default case. This default implementation returns null.- Returns:
- the new adapter.
 
 
-