public class TypeDefinitionImpl extends Object implements TypeDefinition
API_APACHE_WS_XS, API_W3C_DOM
Constructor and Description |
---|
TypeDefinitionImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
getContent()
Returns the underlying type definition as a java.lang.Object, which should
be cast to the appropriate type as indicated by the
getContentModel()
method. |
String |
getContentModel()
Indicates the type of object model or API which should be used to
access the content of the underlying type definition.
|
FragmentIdentifier |
getFragmentIdentifier() |
QName |
getName()
Representing the {name} property of the TypeDefinition component, this
method returns the qualified name of this TypeDefinition.
|
URI |
getSystem()
Representing the {system} property of the TypeDefinition component, this
method indicates the type system from which this type definition is derived.
|
void |
setContent(Object typeDefContent) |
void |
setContentModel(String contentModel) |
void |
setName(QName name) |
void |
setSystem(URI typeSystemURI) |
String |
toString() |
public QName getName()
TypeDefinition
getName
in interface TypeDefinition
public URI getSystem()
TypeDefinition
getSystem
in interface TypeDefinition
public String getContentModel()
TypeDefinition
getContent()
method.
For example:
getContentModel
in interface TypeDefinition
public Object getContent()
TypeDefinition
getContentModel()
method.getContent
in interface TypeDefinition
public void setName(QName name)
public void setSystem(URI typeSystemURI)
public void setContentModel(String contentModel)
public void setContent(Object typeDefContent)
public FragmentIdentifier getFragmentIdentifier()
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.