Package com.sun.tools.ws.processor.model
Class Block
- java.lang.Object
-
- com.sun.tools.ws.processor.model.ModelObject
-
- com.sun.tools.ws.processor.model.Block
-
public class Block extends ModelObject
- Author:
- WS Development Team
-
-
Field Summary
Fields Modifier and Type Field Description static int
ATTACHMENT
static int
BODY
static int
HEADER
static int
UNBOUND
-
Fields inherited from class com.sun.tools.ws.processor.model.ModelObject
errorReceiver
-
-
Constructor Summary
Constructors Constructor Description Block(QName name, AbstractType type, Entity entity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelVisitor visitor)
int
getLocation()
QName
getName()
AbstractType
getType()
void
setLocation(int i)
void
setType(AbstractType type)
-
Methods inherited from class com.sun.tools.ws.processor.model.ModelObject
getEntity, getJavaDoc, getLocator, getProperties, getPropertiesMap, getProperty, removeProperty, setErrorReceiver, setJavaDoc, setPropertiesMap, setProperty
-
-
-
-
Field Detail
-
UNBOUND
public static final int UNBOUND
- See Also:
- Constant Field Values
-
BODY
public static final int BODY
- See Also:
- Constant Field Values
-
HEADER
public static final int HEADER
- See Also:
- Constant Field Values
-
ATTACHMENT
public static final int ATTACHMENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Block
public Block(QName name, AbstractType type, Entity entity)
-
-
Method Detail
-
getName
public QName getName()
-
getType
public AbstractType getType()
-
setType
public void setType(AbstractType type)
-
getLocation
public int getLocation()
-
setLocation
public void setLocation(int i)
-
accept
public void accept(ModelVisitor visitor) throws Exception
- Specified by:
accept
in classModelObject
- Throws:
Exception
-
-