|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.oxygenxml.validate.nvdl.ElementsOrAttributes
class ElementsOrAttributes
Possible values for match, that is represented as a list of elements and attributes.
Field Summary | |
---|---|
(package private) static ElementsOrAttributes |
ATTRIBUTES
Only attributes is specified. |
private static int |
ATTRIBUTES_FLAG
Flag for attributes. |
(package private) static ElementsOrAttributes |
BOTH
Bothe elements and attributes are specified. |
(package private) static ElementsOrAttributes |
ELEMENTS
Only elements is specified. |
private static int |
ELEMENTS_FLAG
Flag for elements. |
private int |
flags
Stores this instance flags. |
(package private) static ElementsOrAttributes |
NEITHER
Neither elements nor attributes specified. |
private static int |
NONE_FLAG
Flag for none. |
private static ElementsOrAttributes[] |
values
All possible values. |
Constructor Summary | |
---|---|
private |
ElementsOrAttributes(int flags)
Creates an instance with the given flags. |
Method Summary | |
---|---|
(package private) ElementsOrAttributes |
addAttributes()
Get the value after adding attributes to the current instance. |
(package private) ElementsOrAttributes |
addElements()
Get the value after adding elements to the current instance. |
(package private) boolean |
containsAttributes()
Checks whether the attributes are matched or not. |
(package private) boolean |
containsElements()
Checks whether the elements are matched or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final int NONE_FLAG
private static final int ELEMENTS_FLAG
private static final int ATTRIBUTES_FLAG
static final ElementsOrAttributes NEITHER
static final ElementsOrAttributes ELEMENTS
static final ElementsOrAttributes ATTRIBUTES
static final ElementsOrAttributes BOTH
private static final ElementsOrAttributes[] values
private int flags
Constructor Detail |
---|
private ElementsOrAttributes(int flags)
flags
- Method Detail |
---|
ElementsOrAttributes addElements()
ElementsOrAttributes addAttributes()
boolean containsAttributes()
boolean containsElements()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |