|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.wom.api.WSDLEntity
public abstract class WSDLEntity
Base class for the wsdl model. It represents WSDL entities such as wsdl:definitions, wsdl:portType, wsdl:port, wsdl:message etc.
| Constructor Summary | |
|---|---|
protected |
WSDLEntity(org.xml.sax.Locator locator,
javax.xml.namespace.QName name)
|
| Method Summary | ||
|---|---|---|
void |
addExtension(java.util.Collection<WSDLExtension> extension)
Adds a new WSDLExtension
to this object. |
|
java.lang.String |
getDocumentation()
Gives the Comment on a WSDL component. |
|
|
getExtension(java.lang.Class<T> type)
Gets the extension that is assignable to the given type. |
|
java.lang.Iterable<WSDLExtension> |
getExtensions()
Gets all the WSDLExtensions
added through #addExtension(Collection. |
|
|
getFirstExtension(java.lang.Class<T> type)
Returns the first extension |
|
org.xml.sax.Locator |
getLocation()
Gets the source location information in the parsed WSDL. |
|
javax.xml.namespace.QName |
getName()
|
|
WSDLDefinitions |
getOwnerWSDLModel()
Gives WSDLDefinitions owning this WSDL entity. |
|
WSDLDocument |
getWSDLDocument()
The WSDLDocument associated with this WSDL entity. |
|
protected void |
setOwnerWSDLDocument(WSDLDocumentImpl wsdlDocument)
|
|
abstract
|
visit(WSDLVisitor<V,P> visitor,
P param)
WSDL visitor |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected WSDLEntity(org.xml.sax.Locator locator,
javax.xml.namespace.QName name)
| Method Detail |
|---|
public javax.xml.namespace.QName getName()
public org.xml.sax.Locator getLocation()
public WSDLDefinitions getOwnerWSDLModel()
WSDLDefinitions owning this WSDL entity.
public WSDLDocument getWSDLDocument()
WSDLDocument associated with this WSDL entity.
public java.lang.String getDocumentation()
public abstract <V,P> V visit(WSDLVisitor<V,P> visitor,
P param)
public final java.lang.Iterable<WSDLExtension> getExtensions()
WSDLExtensibleWSDLExtensions
added through #addExtension(Collection) .
getExtensions in interface WSDLExtensiblepublic <T extends WSDLExtension> java.util.Collection<T> getExtension(java.lang.Class<T> type)
WSDLExtensibleIterator itr = getExtensions(type); if(itr.hasNext()) return itr.next(); else return null;
getExtension in interface WSDLExtensiblepublic <T extends WSDLExtension> T getFirstExtension(java.lang.Class<T> type)
type - always non-null
public void addExtension(java.util.Collection<WSDLExtension> extension)
WSDLExtensibleWSDLExtension
to this object.
addExtension in interface WSDLExtensibleextension - must not be null.protected void setOwnerWSDLDocument(WSDLDocumentImpl wsdlDocument)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||