Package com.sun.xml.rpc.processor.model
Class Block
- java.lang.Object
-
- com.sun.xml.rpc.processor.model.ModelObject
-
- com.sun.xml.rpc.processor.model.Block
-
- All Implemented Interfaces:
ModelObject
public class Block extends ModelObject
- Author:
- JAX-RPC Development Team
-
-
Field Summary
Fields Modifier and Type Field Description static intATTACHMENTstatic intBODYstatic intHEADER
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ModelVisitor visitor)intgetLocation()QNamegetName()AbstractTypegetType()voidsetLocation(int i)voidsetName(QName n)voidsetType(AbstractType type)-
Methods inherited from class com.sun.xml.rpc.processor.model.ModelObject
getProperties, getPropertiesMap, getProperty, removeProperty, setPropertiesMap, setProperty
-
-
-
-
Field Detail
-
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()
-
Block
public Block(QName name)
-
Block
public Block(QName name, AbstractType type)
-
-
Method Detail
-
getName
public QName getName()
-
setName
public void setName(QName n)
-
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:
acceptin classModelObject- Throws:
Exception
-
-