Oracle® Application Server
XML Java API Reference
10g Release 2 (10.1.2)

Part no. B12024-03
September 2004

oracle.xml.parser.schema
Class XSDGroup

java.lang.Object
  |
  +--oracle.xml.parser.schema.XSDNode
        |
        +--oracle.xml.parser.schema.XSDGroup
All Implemented Interfaces:
XSDConstantValues, XSDParticleNode

public class XSDGroup
extends XSDNode
implements XSDParticleNode

This class represents Schema model groups: group, all, sequence and choice


Field Summary

 

Fields inherited from interface oracle.xml.parser.schema.XSDConstantValues
_abstract, _all, _annotation, _any, _anyAttribute, _anySimpleType, _anyType, _appinfo, _attrFormDefault, _attribute, _attributeGroup, _attrTag, _base, _block, _blockDefault, _choice, _complexContent, _complexType, _content, _default, _derivedBy, _documentation, _element, _elementOnly, _elemFormDefault, _empty, _enumeration, _equivClass, _extension, _false, _field, _final, _finalDefault, _fixed, _form, _group, _id, _import, _include, _itemType, _key, _keyref, _lax, _list, _maxOccurs, _memberTypes, _minOccurs, _mixed, _nall, _name, _namespace, _nil, _nillable, _nnany, _nnlist, _nnlocal, _nnother, _nntargetNS, _noNSSchemaLocation, _notation, _null, _nullable, _optional, _pattern, _processContents, _prohibited, _publicid, _qualified, _redefine, _ref, _refer, _required, _restriction, _restrictions, _schema, _schemaLocation, _selector, _sequence, _simpleContent, _simpleType, _skip, _strict, _substitution, _substitutionGrp, _systemid, _targetNS, _textOnly, _this, _true, _type, _undef, _union, _unique, _unqualified, _use, _value, _version, _xmlns, ABSENT_NS, ACCEPTED, ALL, ANNOTATION, ANY, ANY_ATTRIBUTE, ANY_NODE, ATTRIBUTE, ATTRIBUTE_GROUP, AUTO_VALIDATION, BASE_RESOLVED, BASE_UNRESOLVED, BASE_URL, BUILD_FAIL, CHOICE, CIRCULAR_SUBST, CONFLICIT_FACET, constName, DATATYPE, DEEP_VALIDATION, derivationBlock, DONE, DUPLICATE_DEF, duplicateId, ELEMENT, ELEMENT_CHILD, ELEMENT_ONLY, elemNotNullable, EMPTY, ENTITY_RESOLVER, EQUIV_RESOLVED, EQUIV_UNRESOLVED, ERROR, EXTENTION, FACET_CHILD, FAKE_ATTR, FAKE_NODE, FIXED_SCHEMA, GROUP, IABSTRACT, IBLOCKEXT, IBLOCKRST, IBLOCKSUB, IDENTITY_ERROR, IDENTITY_KEY, IDENTITY_KEYREF, IDENTITY_UNIQUE, IFINALEXT, IFINALLIST, IFINALRST, IFINALUNION, IMPORT, INCLUDE, INCORRECT_ATTR, INCORRECT_ELEM, INFINITY, INTERNAL_ERROR, INVALID_DERIVATION, INVALID_FACET, INVALID_FACET_VALUE, INVALID_NOTATION, INVALID_REGEX, INVALID_SCHEMA_NS, INVALID_TYPE_VALUE, invalidAttr, invalidAttrVal, invalidChars, invalidElem, invalidFixedChars, invalidNS, invalidPrefix, invalidProperty, invalidRef, invalidSubstitution, invalidTargetNS, LAX_VALIDATION, MISSING_NS, missingAttr, MIXED, NEW_STATE, NO_CHILD, noDefinition, NOT_DONE, NOTATION, notComplete, notSubstitutable, notSubTypeOf, NS_CONFLICT, NS_DIF_SPECIFIED, NS_NOT_ALLOWED, NS_NOT_EXPECTED, NS_NOT_SAME, NS_RESOLVER, REDEFINE, REF_RESOLVED, REF_UNRESOLVED, RESTRICTION, SCHEMA_NS, SEQ, STRICT_VALIDATION, TEXT_ONLY, TOP_LEVEL, TYPE, TYPE_RESOLVED, TYPE_UNRESOLVED, UNDEF, unexpectedAttr, unexpectedElem, VALIDATION_MODE, VIOLATE_FACET, XSDRECNS, XSDRECTYPENS, XSIRECNS, XSITYPE_ABSENT

 

Method Summary
 int getMaxOccurs()
          Get the maxOccurs maximum occurrence for this content particle.
 int getMinOccurs()
          Get the minOccurs min occurrence for this content particle.
 java.util.Vector getNodeVector()
          Get the particles of the group stored in nodeVector
 int getOrder()
          Get the composite type - ALL, SEQUENCE, CHOICE
 java.lang.String getRefLocalname()
          Get the refernce local name of the node
 void setMaxOccurs(int maxOccurs)
          Set the maxOccurs maximum occurrence for this content particle.
 void setMinOccurs(int minOccurs)
          Set the minOccurs min occurrence for this content particle.

 

Methods inherited from class oracle.xml.parser.schema.XSDNode
getAnnotation, getName, getNodeType, getTargetNS, isNodeType

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getRefLocalname

public java.lang.String getRefLocalname()
Get the refernce local name of the node
Overrides:
getRefLocalname in class XSDNode

getNodeVector

public java.util.Vector getNodeVector()
Get the particles of the group stored in nodeVector
Returns:
nodeVector

getMinOccurs

public int getMinOccurs()
Get the minOccurs min occurrence for this content particle. Valid values are from 0 to AS_UNBOUNDED.
Specified by:
getMinOccurs in interface XSDParticleNode

getMaxOccurs

public int getMaxOccurs()
Get the maxOccurs maximum occurrence for this content particle. Valid values are from 0 to AS_UNBOUNDED.
Specified by:
getMaxOccurs in interface XSDParticleNode

setMinOccurs

public void setMinOccurs(int minOccurs)
Set the minOccurs min occurrence for this content particle. Valid values are from 0 to AS_UNBOUNDED.
Specified by:
setMinOccurs in interface XSDParticleNode

setMaxOccurs

public void setMaxOccurs(int maxOccurs)
Set the maxOccurs maximum occurrence for this content particle. Valid values are from 0 to AS_UNBOUNDED.
Specified by:
setMaxOccurs in interface XSDParticleNode

getOrder

public int getOrder()
Get the composite type - ALL, SEQUENCE, CHOICE
Returns:
order

Oracle® Application Server
XML Java API Reference
10g Release 2 (10.1.2)

Part no. B12024-03
September 2004

Copyright © 2003, 2004, Oracle. All rights reserved.