Package com.sun.tools.ws.processor.model
Class Model
- java.lang.Object
-
- com.sun.tools.ws.processor.model.ModelObject
-
- com.sun.tools.ws.processor.model.Model
-
public class Model extends ModelObject
The model is used to represent the entire Web Service. The JAX-WS ProcessorActions can process this Model to generate Java artifacts such as the service interface.- Author:
- WS Development Team
-
-
Field Summary
-
Fields inherited from class com.sun.tools.ws.processor.model.ModelObject
errorReceiver
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelVisitor visitor)
void
addExtraType(AbstractType type)
void
addService(Service service)
Iterator
getExtraTypes()
Set<AbstractType>
getExtraTypesSet()
JAXBModel
getJAXBModel()
QName
getName()
Service
getServiceByName(QName name)
List<Service>
getServices()
String
getSource()
String
getTargetNamespaceURI()
void
setExtraTypesSet(Set<AbstractType> s)
void
setJAXBModel(JAXBModel jaxBModel)
void
setName(QName n)
void
setServices(List<Service> l)
void
setSource(String string)
void
setTargetNamespaceURI(String s)
-
Methods inherited from class com.sun.tools.ws.processor.model.ModelObject
getEntity, getJavaDoc, getLocator, getProperties, getPropertiesMap, getProperty, removeProperty, setErrorReceiver, setJavaDoc, setPropertiesMap, setProperty
-
-
-
-
Method Detail
-
getName
public QName getName()
-
setName
public void setName(QName n)
-
getTargetNamespaceURI
public String getTargetNamespaceURI()
-
setTargetNamespaceURI
public void setTargetNamespaceURI(String s)
-
addService
public void addService(Service service)
-
addExtraType
public void addExtraType(AbstractType type)
-
getExtraTypes
public Iterator getExtraTypes()
-
getExtraTypesSet
public Set<AbstractType> getExtraTypesSet()
-
setExtraTypesSet
public void setExtraTypesSet(Set<AbstractType> s)
-
accept
public void accept(ModelVisitor visitor) throws Exception
- Specified by:
accept
in classModelObject
- Throws:
Exception
-
getSource
public String getSource()
- Returns:
- the source version
-
setSource
public void setSource(String string)
- Parameters:
string
-
-
setJAXBModel
public void setJAXBModel(JAXBModel jaxBModel)
-
getJAXBModel
public JAXBModel getJAXBModel()
-
-