public class Block extends ModelObject
| Modifier and Type | Field and Description |
|---|---|
static int |
ATTACHMENT |
static int |
BODY |
static int |
HEADER |
static int |
UNBOUND |
errorReceiver| Constructor and Description |
|---|
Block(QName name,
AbstractType type,
Entity entity) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ModelVisitor visitor) |
int |
getLocation() |
QName |
getName() |
AbstractType |
getType() |
void |
setLocation(int i) |
void |
setType(AbstractType type) |
getEntity, getJavaDoc, getLocator, getProperties, getPropertiesMap, getProperty, removeProperty, setErrorReceiver, setJavaDoc, setPropertiesMap, setPropertypublic static final int UNBOUND
public static final int BODY
public static final int HEADER
public static final int ATTACHMENT
public Block(QName name, AbstractType type, Entity entity)
public QName getName()
public AbstractType getType()
public void setType(AbstractType type)
public int getLocation()
public void setLocation(int i)
public void accept(ModelVisitor visitor) throws Exception
accept in class ModelObjectExceptionCopyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.