Class JDFEnumerationSpan

java.lang.Object
org.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
All Implemented Interfaces:
Serializable, Cloneable, IStreamWriter, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo
Direct Known Subclasses:
JDFSpanArtHandling, JDFSpanBindingLength, JDFSpanBindingSide, JDFSpanBindingType, JDFSpanCoatings, JDFSpanCoilMaterial, JDFSpanColorType, JDFSpanCutDepth, JDFSpanCutType, JDFSpanDeliveryCharge, JDFSpanDirection, JDFSpanEdgeShape, JDFSpanFinishedGrainDirection, JDFSpanFluteDirection, JDFSpanFrequencySelection, JDFSpanGlue, JDFSpanGlueProcedure, JDFSpanGlueType, JDFSpanGrainDirection, JDFSpanHoleType, JDFSpanImageStrategy, JDFSpanISOPaperSubstrate, JDFSpanJacket, JDFSpanLevel, JDFSpanMediaType, JDFSpanMediaUnit, JDFSpanMethod, JDFSpanNamedColor, JDFSpanOpacity, JDFSpanOrientation, JDFSpanPrintPreference, JDFSpanPrintProcess, JDFSpanProofType, JDFSpanScoring, JDFSpanScreeningType, JDFSpanShape, JDFSpanShapeType, JDFSpanSizePolicy, JDFSpanStapleShape, JDFSpanStripMaterial, JDFSpanSurface, JDFSpanSurplusHandling, JDFSpanTemperature, JDFSpanTightBacking, JDFSpanTransfer, JDFSpanVariableQuality, JDFSpanVariableType, JDFSpanWireCombMaterial, JDFSpanWireCombShape

public abstract class JDFEnumerationSpan extends JDFSpanBase
See Also:
  • Constructor Details

    • JDFEnumerationSpan

      public JDFEnumerationSpan(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String qualifiedName)
      Constructor for JDFEnumerationSpan
      Parameters:
      myOwnerDocument -
      qualifiedName -
    • JDFEnumerationSpan

      public JDFEnumerationSpan(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName)
      Constructor for JDFEnumerationSpan
      Parameters:
      myOwnerDocument -
      myNamespaceURI -
      qualifiedName -
    • JDFEnumerationSpan

      public JDFEnumerationSpan(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName, String myLocalName)
      Constructor for JDFEnumerationSpan
      Parameters:
      myOwnerDocument -
      myNamespaceURI -
      qualifiedName -
      myLocalName -
  • Method Details

    • getTheAttributeInfo

      protected AttributeInfo getTheAttributeInfo()
      Overrides:
      getTheAttributeInfo in class JDFSpanBase
      Returns:
    • getEnumType

      public abstract ValuedEnum getEnumType()
      AllowedValues - will be defined in every particular EnumerationSpan
      Returns:
      Vector - vector representation of the allowed values
    • getEnum

      public ValuedEnum getEnum(String value)
      Parameters:
      value -
      Returns:
    • setActual

      public void setActual(ValuedEnum value)
      Set attribute Actual
      Parameters:
      value - - the value to set
    • getActual

      public ValuedEnum getActual()
      Get attribute Actual value
      Returns:
      int - the enumeration equivalent of the attribute
    • setPreferred

      public void setPreferred(ValuedEnum value)
      Set attribute Preferred
      Parameters:
      value - - the enumeration equivalent of value to set
    • getPreferred

      public ValuedEnum getPreferred()
      Get attribute Preferred value
      Returns:
      int - the enumeration equivalent of the attribute
    • getRange

      public Vector<? extends ValuedEnum> getRange()
      Get attribute Range value
      Returns:
      Vector - the enumerations equivalent of attribute Range value
    • setRange

      public void setRange(Vector<? extends ValuedEnum> value)
      Set attribute Range as Enumerations
      Parameters:
      value - - the enumerations equivalent of value to set
    • getOfferRange

      public Vector<? extends ValuedEnum> getOfferRange()
      Get attribute Range value
      Returns:
      Vector - the enumerations equivalent of attribute Range value
    • setOfferRange

      public void setOfferRange(Vector<? extends ValuedEnum> value)
      Set attribute Range as Enumerations
      Parameters:
      value - - the enumerations equivalent of value to set
    • init

      public boolean init()
      Description copied from class: KElement
      Method init. Superclass of all inits
      Overrides:
      init in class JDFElement
      Returns:
      See Also:
    • getDataType

      public JDFSpanBase.EnumDataType getDataType()
      Gets the value of attribute DataType
      Overrides:
      getDataType in class JDFSpanBase
      Returns:
      EnumDataType - the attribute DataType value