public interface ElementDeclaration
However, it does not mandate W3C XML Schema as the type system. It defines behaviour to query the type system and the underlying content model or API being used to represent the element declarations, and to return a java.lang.Object representing the actual element declaration object. Based on the type system and content model, the application must cast this Object to the appropriate type to manipulate its contents.
Note that while ElementDeclaration is described along with the Component model in the W3C WSDL 2.0 specification, it is not a WSDL component itself. It simply provides a way of representing components from the underlying type system within the WSDL Component model.
Modifier and Type | Field and Description |
---|---|
static String |
API_APACHE_WS_XS
A constant representing the Apache WS-Commons XmlSchema API.
|
static String |
API_W3C_DOM
A constant representing the DOM API.
|
Modifier and Type | Method and Description |
---|---|
Object |
getContent()
Returns the underlying element declaration 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 element declaration.
|
QName |
getName()
Representing the {name} property of the ElementDeclaration component, this
method returns the qualified name of this ElementDeclaration.
|
URI |
getSystem()
Representing the {system} property of the ElementDeclaration component, this
method indicates the type system from which this element declaration is derived.
|
static final String API_W3C_DOM
static final String API_APACHE_WS_XS
QName getName()
URI getSystem()
String getContentModel()
getContent()
method.
For example:
Object getContent()
getContentModel()
method.Copyright © 2005–2014 Apache Software Foundation. All rights reserved.