|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ItemDef
is the internal representation of
an item definition. It refers to QName
s only
and is thus isolated from session-specific namespace mappings.
ItemDefinition
Field Summary | |
static QName |
ANY_NAME
The special wildcard name used as the name of residual item definitions. |
static ItemDef[] |
EMPTY_ARRAY
|
Method Summary | |
boolean |
definesNode()
Determines whether this item definition defines a node. |
boolean |
definesResidual()
Determines whether this item definition defines a residual set of child items. |
QName |
getDeclaringNodeType()
Gets the name of the declaring node type. |
QName |
getName()
Gets the name of the child item. |
int |
getOnParentVersion()
Gets the 'onParentVersion' attribute of the item. |
boolean |
isAutoCreated()
Determines whether the item is 'autoCreated'. |
boolean |
isMandatory()
Determines whether the item is 'mandatory'. |
boolean |
isProtected()
Determines whether the item is 'protected'. |
Field Detail |
public static final ItemDef[] EMPTY_ARRAY
public static final QName ANY_NAME
Method Detail |
public QName getName()
public QName getDeclaringNodeType()
public boolean isAutoCreated()
public int getOnParentVersion()
public boolean isProtected()
public boolean isMandatory()
public boolean definesResidual()
getName().equals(ANY_NAME)
.
true
if this definition defines a residual set;
false
otherwise.public boolean definesNode()
true
if this is a node definition;
false
otherwise (i.e. it is a property definition).
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |