Class ListState

All Implemented Interfaces:
XSTypeOwner, ContentHandler

public class ListState extends TypeWithOneChildState
state that parses <list> element of XSD.
  • Field Details

    • newTypeUri

      protected final String newTypeUri
    • newTypeName

      protected final String newTypeName
  • Constructor Details

    • ListState

      protected ListState(String newTypeUri, String newTypeName)
  • Method Details

    • annealType

      protected XSDatatypeExp annealType(XSDatatypeExp itemType) throws org.relaxng.datatype.DatatypeException
      Description copied from class: TypeWithOneChildState
      performs final wrap-up and returns a fully created DataType object that represents this element.
      Overrides:
      annealType in class TypeWithOneChildState
      Throws:
      org.relaxng.datatype.DatatypeException
    • startSelf

      protected void startSelf()
      Description copied from class: State
      performs a task that should be done before reading any child elements. derived-class can safely read startTag and/or parentState values.
      Overrides:
      startSelf in class State
    • createChildState

      protected State createChildState(StartTagInfo tag)
      Description copied from class: SimpleState
      creates appropriate child state object for this element
      Specified by:
      createChildState in class SimpleState