Class DataState

All Implemented Interfaces:
ExpressionOwner, ContentHandler

public class DataState extends ExpressionState implements ExpressionOwner
parses <data> pattern.
  • Field Details

    • typeBuilder

      protected org.relaxng.datatype.DatatypeBuilder typeBuilder
      type incubator object to be used to create a type.
    • baseTypeName

      protected StringPair baseTypeName
      the name of the base type.
    • except

      protected Expression except
      the 'except' clause. Null if nothing was specified
  • Constructor Details

    • DataState

      public DataState()
  • Method Details

    • 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
    • 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
    • onEndChild

      public void onEndChild(Expression child)
      Specified by:
      onEndChild in interface ExpressionOwner
    • makeExpression

      protected Expression makeExpression()
      Description copied from class: ExpressionState
      This method is called from endElement method. Implementation has to provide Expression object that represents the content of this element.
      Specified by:
      makeExpression in class ExpressionState