com.sun.tools.ws.processor.model
Class Block

java.lang.Object
  extended by com.sun.tools.ws.processor.model.ModelObject
      extended by com.sun.tools.ws.processor.model.Block

public class Block
extends ModelObject


Field Summary
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
Block(QName name, AbstractType type, Entity entity)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 class ModelObject
Throws:
Exception