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()
TypeDefinitiongetName in interface TypeDefinitionpublic URI getSystem()
TypeDefinitiongetSystem in interface TypeDefinitionpublic String getContentModel()
TypeDefinitiongetContent() method.
For example:
getContentModel in interface TypeDefinitionpublic Object getContent()
TypeDefinitiongetContentModel()
method.getContent in interface TypeDefinitionpublic void setName(QName name)
public void setSystem(URI typeSystemURI)
public void setContentModel(String contentModel)
public void setContent(Object typeDefContent)
public FragmentIdentifier getFragmentIdentifier()
Copyright © 2005–2019 Apache Software Foundation. All rights reserved.