Class JDFUsageCounter

java.lang.Object
org.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
All Implemented Interfaces:
Serializable, Cloneable, IStreamWriter, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo

public class JDFUsageCounter extends JDFAutoUsageCounter
See Also:
  • Constructor Details

    • JDFUsageCounter

      public JDFUsageCounter(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String qualifiedName) throws DOMException
      Constructor for JDFUsageCounter
      Parameters:
      myOwnerDocument -
      qualifiedName -
      Throws:
      DOMException
    • JDFUsageCounter

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

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

    • toString

      public String toString()
      toString
      Overrides:
      toString in class KElement
      Returns:
      String
      See Also:
    • setCounterTypes

      public void setCounterTypes(JDFUsageCounter.EnumCounterType enumVar)
      (5) set attribute CounterTypes
      Parameters:
      enumVar - : the enumVar to set the attribute to
    • setCounterTypes

      public void setCounterTypes(Vector<JDFUsageCounter.EnumCounterType> vVar)
      (5) set attribute CounterTypes
      Parameters:
      vVar - vector of EnumCounterType : the enumVar to set the attribute to
    • appendCounterType

      public void appendCounterType(JDFUsageCounter.EnumCounterType cType)
      append a countertype to attribute CounterTypes
      Parameters:
      cType - EnumCounterType : the enumVar to set the attribute to
    • getEnumCounterTypes

      public Vector<JDFUsageCounter.EnumCounterType> getEnumCounterTypes()
      (9) get attribute Scope
      Returns:
      the value of the attribute
    • matchesString

      public boolean matchesString(String namedResLink)
      also checks for matching counterID or CounteType mangled with "_", e.g. UsageCounter:ID_CounterA UsageCounter:Black_SingleSided etc.
      Overrides:
      matchesString in class JDFResource
      Returns: