|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectxmltorng.document.relaxng.impl.NonEmptyPatternImpl
xmltorng.document.relaxng.impl.GroupPatternImpl
public class GroupPatternImpl
Field Summary |
---|
Fields inherited from interface xmltorng.framework.document.relaxng.GroupPattern |
---|
GROUP_CHOICE_EXCLUDING_EMPTY_PATTERN, GROUP_CHOICE_INCLUDING_EMPTY_PATTERN, GROUP_GROUP, GROUP_INTERLEAVE |
Fields inherited from interface xmltorng.framework.document.relaxng.NonEmptyPattern |
---|
PATTERN_ATTRIBUTE, PATTERN_DATA, PATTERN_GROUP, PATTERN_LIST, PATTERN_REF, PATTERN_TEXT, PATTERN_VALUE |
Constructor Summary | |
---|---|
GroupPatternImpl(int groupType,
NonEmptyPattern[] childPatterns)
|
Method Summary | |
---|---|
NonEmptyPattern |
getChild(int index)
Return the child pattern with index index
0 <= index < childCount |
int |
getChildCount()
Return the child pattern count. |
int |
getGroupType()
Return the group type : one of the GROUP_* constants. |
int |
getPatternType()
Return the pattern type. |
void |
reorderChildren(java.util.Comparator comparator)
|
Methods inherited from class xmltorng.document.relaxng.impl.NonEmptyPatternImpl |
---|
canBeRepeated, isEmpty, setBeRepeated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface xmltorng.framework.document.relaxng.NonEmptyPattern |
---|
canBeRepeated |
Methods inherited from interface xmltorng.framework.document.relaxng.Pattern |
---|
isEmpty |
Constructor Detail |
---|
public GroupPatternImpl(int groupType, NonEmptyPattern[] childPatterns)
Method Detail |
---|
public void reorderChildren(java.util.Comparator comparator)
public int getPatternType()
NonEmptyPattern
getPatternType
in interface NonEmptyPattern
public int getGroupType()
GroupPattern
getGroupType
in interface GroupPattern
public int getChildCount()
GroupPattern
getChildCount
in interface GroupPattern
public NonEmptyPattern getChild(int index)
GroupPattern
index
0 <= index < childCount
getChild
in interface GroupPattern
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |