Class ElementDecl


public class ElementDecl extends ContainedEntry
Simple utility struct for holding element declarations.

This simply correlates a QName to a TypeEntry.

Author:
Glen Daniels (gdaniels@apache.org), Tom Jordahl (tomj@apache.org)
  • Constructor Details

    • ElementDecl

      public ElementDecl(TypeEntry type, QName name)
      Constructor ElementDecl
      Parameters:
      type -
      name -
  • Method Details

    • getMinOccursIs0

      public boolean getMinOccursIs0()
      Method getMinOccursIs0
      Returns:
    • setMinOccursIs0

      public void setMinOccursIs0(boolean minOccursIs0)
      Method setMinOccursIs0
      Parameters:
      minOccursIs0 -
    • getMaxOccursIsUnbounded

      public boolean getMaxOccursIsUnbounded()
      Method getMaxOccursIsUnbounded
      Returns:
    • setMaxOccursIsUnbounded

      public void setMaxOccursIsUnbounded(boolean maxOccursIsUnbounded)
      Method setMaxOccursIsUnbounded
      Parameters:
      maxOccursIsUnbounded -
    • getMaxOccursIsExactlyOne

      public boolean getMaxOccursIsExactlyOne()
      Method getMaxOccursIsExactlyOne
      Returns:
    • setMaxOccursIsExactlyOne

      public void setMaxOccursIsExactlyOne(boolean exactOne)
      Method setMaxOccursIsExactlyOne
      Parameters:
      exactOne -
    • setNillable

      public void setNillable(boolean nillable)
      Method setNillable
      Parameters:
      nillable -
    • getNillable

      public boolean getNillable()
      Method getNillable
      Returns:
    • setOptional

      public void setOptional(boolean optional)
      Method setOptional
      Parameters:
      optional -
    • getOptional

      public boolean getOptional()
      Method getOptional
      Returns:
    • getAnyElement

      public boolean getAnyElement()
      Method getAnyElement
      Returns:
    • setAnyElement

      public void setAnyElement(boolean anyElement)
      Method setAnyElement
      Parameters:
      anyElement -
    • getDocumentation

      public String getDocumentation()
      Method getDocumentation
      Returns:
      string
    • setDocumentation

      public void setDocumentation(String documentation)
      Method setDocumentation
      Parameters:
      documentation -