Class SchemaParticleImpl

    • Constructor Detail

      • SchemaParticleImpl

        public SchemaParticleImpl()
    • Method Detail

      • setImmutable

        public void setImmutable()
      • hasTransitionRules

        public boolean hasTransitionRules()
      • hasTransitionNotes

        public boolean hasTransitionNotes()
      • setTransitionRules

        public void setTransitionRules​(QNameSet start,
                                       boolean isSkippable)
      • setTransitionNotes

        public void setTransitionNotes​(QNameSet excludeNext,
                                       boolean isDeterministic)
      • canStartWithElement

        public boolean canStartWithElement​(javax.xml.namespace.QName name)
        Description copied from interface: SchemaParticle
        True if this particle can start with the given element (taking into account the structure of all child particles of course).
        Specified by:
        canStartWithElement in interface SchemaParticle
      • getExcludeNextSet

        public QNameSet getExcludeNextSet()
      • isSkippable

        public boolean isSkippable()
        Description copied from interface: SchemaParticle
        True if this particle can be skipped (taking into account both the minOcurs as well as the structure of all the child particles)
        Specified by:
        isSkippable in interface SchemaParticle
      • isDeterministic

        public boolean isDeterministic()
      • setParticleType

        public void setParticleType​(int pType)
      • getMinOccurs

        public java.math.BigInteger getMinOccurs()
        Description copied from interface: SchemaParticle
        Returns the minOccurs value for this particle. If it's not specified explicitly, this returns BigInteger.ONE.
        Specified by:
        getMinOccurs in interface SchemaParticle
      • setMinOccurs

        public void setMinOccurs​(java.math.BigInteger min)
      • getIntMinOccurs

        public int getIntMinOccurs()
        Description copied from interface: SchemaParticle
        Returns the minOccurs value, pegged to a 32-bit int for convenience of a validating state machine that doesn't count higher than MAX_INT anyway.
        Specified by:
        getIntMinOccurs in interface SchemaParticle
      • getMaxOccurs

        public java.math.BigInteger getMaxOccurs()
        Description copied from interface: SchemaParticle
        Returns the maxOccurs value for this particle, or null if it is unbounded. If it's not specified explicitly, this returns BigInteger.ONE.
        Specified by:
        getMaxOccurs in interface SchemaParticle
      • getIntMaxOccurs

        public int getIntMaxOccurs()
        Description copied from interface: SchemaParticle
        Returns the maxOccurs value, pegged to a 32-bit int for convenience of a validating state machine that doesn't count higher than MAX_INT anyway. Unbounded is given as MAX_INT.
        Specified by:
        getIntMaxOccurs in interface SchemaParticle
      • setMaxOccurs

        public void setMaxOccurs​(java.math.BigInteger max)
      • setParticleChildren

        public void setParticleChildren​(SchemaParticle[] children)
      • setWildcardSet

        public void setWildcardSet​(QNameSet set)
      • setWildcardProcess

        public void setWildcardProcess​(int process)
      • getName

        public javax.xml.namespace.QName getName()
        Description copied from interface: SchemaParticle
        For elements only: the QName for the element use. May be unqualified version of referenced element's name.
        Specified by:
        getName in interface SchemaParticle
      • setNameAndTypeRef

        public void setNameAndTypeRef​(javax.xml.namespace.QName formname,
                                      SchemaType.Ref typeref)
      • isTypeResolved

        public boolean isTypeResolved()
      • resolveTypeRef

        public void resolveTypeRef​(SchemaType.Ref typeref)
      • isAttribute

        public boolean isAttribute()
      • getDefaultText

        public java.lang.String getDefaultText()
        Description copied from interface: SchemaParticle
        For elements only: returns the default (or fixed) text value
        Specified by:
        getDefaultText in interface SchemaParticle
      • isDefault

        public boolean isDefault()
        Description copied from interface: SchemaParticle
        For elements only: True if has default. If isFixed, then isDefault is always true.
        Specified by:
        isDefault in interface SchemaParticle
      • isFixed

        public boolean isFixed()
        Description copied from interface: SchemaParticle
        For elements only: true if is fixed value.
        Specified by:
        isFixed in interface SchemaParticle
      • setDefault

        public void setDefault​(java.lang.String deftext,
                               boolean isFixed,
                               XmlObject parseObject)
      • setNillable

        public void setNillable​(boolean nillable)
      • setDefaultValue

        public void setDefaultValue​(XmlValueRef defaultRef)
      • getUserData

        public java.lang.Object getUserData()
      • setUserData

        public void setUserData​(java.lang.Object data)