Class JDFAutoShapeDef

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:
JDFShapeDef

public abstract class JDFAutoShapeDef extends JDFResource
class JDFAutoShapeDef : public JDFResource
See Also:
  • Constructor Details

    • JDFAutoShapeDef

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

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

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

    • getTheAttributeInfo

      protected AttributeInfo getTheAttributeInfo()
      Overrides:
      getTheAttributeInfo in class JDFResource
      Returns:
    • getTheElementInfo

      protected ElementInfo getTheElementInfo()
      Overrides:
      getTheElementInfo in class JDFResource
      Returns:
      the elementinfo
    • init

      public boolean init()
      Description copied from class: JDFResource
      default initialization
      Overrides:
      init in class JDFResource
      Returns:
      true if ok
      See Also:
    • getValidClass

      public JDFResource.EnumResourceClass getValidClass()
      Description copied from class: JDFResource
      get the fixed class for this resource,
      Overrides:
      getValidClass in class JDFResource
      Returns:
      the resource Class
    • setArea

      public void setArea(double value)
      (36) set attribute Area
      Parameters:
      value - the value to set the attribute to
    • getArea

      public double getArea()
      (17) get double attribute Area
      Returns:
      double the value of the attribute
    • setCutBox

      public void setCutBox(JDFRectangle value)
      (36) set attribute CutBox
      Parameters:
      value - the value to set the attribute to
    • getCutBox

      public JDFRectangle getCutBox()
      (20) get JDFRectangle attribute CutBox
      Returns:
      JDFRectangle the value of the attribute, null if a the attribute value is not a valid to create a JDFRectangle
    • setDimensions

      public void setDimensions(JDFShape value)
      (36) set attribute Dimensions
      Parameters:
      value - the value to set the attribute to
    • getDimensions

      public JDFShape getDimensions()
      (20) get JDFShape attribute Dimensions
      Returns:
      JDFShape the value of the attribute, null if a the attribute value is not a valid to create a JDFShape
    • setFlatDimensions

      public void setFlatDimensions(JDFShape value)
      (36) set attribute FlatDimensions
      Parameters:
      value - the value to set the attribute to
    • getFlatDimensions

      public JDFShape getFlatDimensions()
      (20) get JDFShape attribute FlatDimensions
      Returns:
      JDFShape the value of the attribute, null if a the attribute value is not a valid to create a JDFShape
    • setFluteDirection

      public void setFluteDirection(JDFAutoShapeDef.EnumFluteDirection enumVar)
      (5) set attribute FluteDirection
      Parameters:
      enumVar - the enumVar to set the attribute to
    • getFluteDirection

      public JDFAutoShapeDef.EnumFluteDirection getFluteDirection()
      (9) get attribute FluteDirection
      Returns:
      the value of the attribute
    • setGrainDirection

      public void setGrainDirection(JDFAutoShapeDef.EnumGrainDirection enumVar)
      (5) set attribute GrainDirection
      Parameters:
      enumVar - the enumVar to set the attribute to
    • getGrainDirection

      public JDFAutoShapeDef.EnumGrainDirection getGrainDirection()
      (9) get attribute GrainDirection
      Returns:
      the value of the attribute
    • setMediaSide

      public void setMediaSide(JDFAutoShapeDef.EnumMediaSide enumVar)
      (5) set attribute MediaSide
      Parameters:
      enumVar - the enumVar to set the attribute to
    • getMediaSide

      public JDFAutoShapeDef.EnumMediaSide getMediaSide()
      (9) get attribute MediaSide
      Returns:
      the value of the attribute
    • setResourceWeight

      public void setResourceWeight(double value)
      (36) set attribute ResourceWeight
      Overrides:
      setResourceWeight in class JDFResource
      Parameters:
      value - the value to set the attribute to
    • getResourceWeight

      public double getResourceWeight()
      (17) get double attribute ResourceWeight
      Overrides:
      getResourceWeight in class JDFResource
      Returns:
      double the value of the attribute
    • getColorPool

      public JDFColorPool getColorPool()
      (24) const get element ColorPool
      Returns:
      JDFColorPool the element
    • getCreateColorPool

      public JDFColorPool getCreateColorPool()
      (25) getCreateColorPool
      Returns:
      JDFColorPool the element
    • appendColorPool

      public JDFColorPool appendColorPool()
      (29) append element ColorPool
      Returns:
      JDFColorPool the element @ if the element already exists
    • refColorPool

      public void refColorPool(JDFColorPool refTarget)
      (31) create inter-resource link to refTarget
      Parameters:
      refTarget - the element that is referenced
    • getCutLines

      public JDFSeparationList getCutLines()
      (24) const get element CutLines
      Returns:
      JDFSeparationList the element
    • getCreateCutLines

      public JDFSeparationList getCreateCutLines()
      (25) getCreateCutLines
      Returns:
      JDFSeparationList the element
    • appendCutLines

      public JDFSeparationList appendCutLines()
      (29) append element CutLines
      Returns:
      JDFSeparationList the element @ if the element already exists
    • getFileSpec

      public JDFFileSpec getFileSpec()
      (24) const get element FileSpec
      Returns:
      JDFFileSpec the element
    • getCreateFileSpec

      public JDFFileSpec getCreateFileSpec()
      (25) getCreateFileSpec
      Returns:
      JDFFileSpec the element
    • getCreateFileSpec

      public JDFFileSpec getCreateFileSpec(int iSkip)
      (26) getCreateFileSpec
      Parameters:
      iSkip - number of elements to skip
      Returns:
      JDFFileSpec the element
    • getFileSpec

      public JDFFileSpec getFileSpec(int iSkip)
      (27) const get element FileSpec
      Parameters:
      iSkip - number of elements to skip
      Returns:
      JDFFileSpec the element default is getFileSpec(0)
    • getAllFileSpec

      public Collection<JDFFileSpec> getAllFileSpec()
      Get all FileSpec from the current element
      Returns:
      Collection, null if none are available
    • appendFileSpec

      public JDFFileSpec appendFileSpec()
      (30) append element FileSpec
      Returns:
      JDFFileSpec the element
    • refFileSpec

      public void refFileSpec(JDFFileSpec refTarget)
      (31) create inter-resource link to refTarget
      Parameters:
      refTarget - the element that is referenced
    • getMedia

      public JDFMedia getMedia()
      (24) const get element Media
      Returns:
      JDFMedia the element
    • getCreateMedia

      public JDFMedia getCreateMedia()
      (25) getCreateMedia
      Returns:
      JDFMedia the element
    • appendMedia

      public JDFMedia appendMedia()
      (29) append element Media
      Returns:
      JDFMedia the element @ if the element already exists
    • refMedia

      public void refMedia(JDFMedia refTarget)
      (31) create inter-resource link to refTarget
      Parameters:
      refTarget - the element that is referenced
    • getRuleLength

      public JDFRuleLength getRuleLength()
      (24) const get element RuleLength
      Returns:
      JDFRuleLength the element
    • getCreateRuleLength

      public JDFRuleLength getCreateRuleLength()
      (25) getCreateRuleLength
      Returns:
      JDFRuleLength the element
    • getCreateRuleLength

      public JDFRuleLength getCreateRuleLength(int iSkip)
      (26) getCreateRuleLength
      Parameters:
      iSkip - number of elements to skip
      Returns:
      JDFRuleLength the element
    • getRuleLength

      public JDFRuleLength getRuleLength(int iSkip)
      (27) const get element RuleLength
      Parameters:
      iSkip - number of elements to skip
      Returns:
      JDFRuleLength the element default is getRuleLength(0)
    • getAllRuleLength

      public Collection<JDFRuleLength> getAllRuleLength()
      Get all RuleLength from the current element
      Returns:
      Collection, null if none are available
    • appendRuleLength

      public JDFRuleLength appendRuleLength()
      (30) append element RuleLength
      Returns:
      JDFRuleLength the element
    • getShape

      public JDFShapeElement getShape()
      (24) const get element Shape
      Returns:
      JDFShapeElement the element
    • getCreateShape

      public JDFShapeElement getCreateShape()
      (25) getCreateShape
      Returns:
      JDFShapeElement the element
    • appendShape

      public JDFShapeElement appendShape()
      (29) append element Shape
      Returns:
      JDFShapeElement the element @ if the element already exists
    • refShape

      public void refShape(JDFShapeElement refTarget)
      (31) create inter-resource link to refTarget
      Parameters:
      refTarget - the element that is referenced