Class ScriptRef

java.lang.Object
org.apache.ecs.GenericElement
org.apache.ecs.ElementAttributes
org.apache.ecs.ConcreteElement
org.apache.ecs.MultiPartElement
org.apache.ecs.html.Script
overit.geocall.ecs.ScriptRef
All Implemented Interfaces:
Serializable, Cloneable, org.apache.ecs.Attributes, org.apache.ecs.Element, org.apache.ecs.ElementRegistry, org.apache.ecs.Printable, NamedElement

public class ScriptRef extends org.apache.ecs.html.Script implements NamedElement
Class that manages the ref of a Script, with its own id, name and src
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
     
    protected static String
     

    Fields inherited from class org.apache.ecs.GenericElement

    tabLevel

    Fields inherited from interface org.apache.ecs.Attributes

    NO_ATTRIBUTE_VALUE

    Fields inherited from interface org.apache.ecs.Element

    CENTER, LEFT, LOWERCASE, MIXEDCASE, RIGHT, UPPERCASE
  • Constructor Summary

    Constructors
    Constructor
    Description
    ScriptRef(String name, String src)
    Creates a new ScriptRef
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Method that indicate that something is changed, it changes the id
    static String
    Returns the id
    Returns the name of the Element

    Methods inherited from class org.apache.ecs.html.Script

    addElement, addElement, addElement, addElement, createEndTag, createStartTag, removeElement, setLanguage, setSrc, setType

    Methods inherited from class org.apache.ecs.ConcreteElement

    addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, clone, elements, getElement, isEmpty, output, output, output, output, registryHasElement, registryHasElement, removeElementFromRegistry, removeElementFromRegistry

    Methods inherited from class org.apache.ecs.ElementAttributes

    addAttribute, addAttribute, addAttribute, addAttribute, attributes, getAttribute, getAttributeEqualitySign, getAttributeFilter, getAttributeFilterState, getAttributeQuote, getAttributeQuoteChar, hasAttribute, removeAttribute, setAttributeEqualitySign, setAttributeFilter, setAttributeFilterState, setAttributeQuote, setAttributeQuoteChar, setClass, setDir, setID, setLang, setStyle, setTitle

    Methods inherited from class org.apache.ecs.GenericElement

    alterCase, getBeginEndModifier, getBeginEndModifierDefined, getBeginStartModifier, getBeginStartModifierDefined, getCase, getCodeSet, getElementHashEntry, getElementType, getEndEndModifier, getEndEndModifierDefined, getEndStartModifier, getEndStartModifierDefined, getEndTagChar, getFilter, getFilterState, getNeedClosingTag, getNeedLineBreak, getPrettyPrint, getStartTagChar, getTabLevel, getTagPosition, getTagText, getVersion, putTabs, putTabs, removeBeginEndModifier, removeBeginStartModifier, removeEndEndModifier, removeEndStartModifier, setBeginEndModifier, setBeginModifier, setBeginModifier, setBeginStartModifier, setCase, setCodeSet, setElementType, setEndEndModifier, setEndModifier, setEndModifier, setEndStartModifier, setEndTagChar, setFilter, setFilterState, setNeedClosingTag, setPrettyPrint, setStartTagChar, setTabLevel, setTagPosition, setTagText, toString, toString

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.ecs.Element

    getBeginEndModifier, getBeginStartModifier, getCase, getElementType, getEndEndModifier, getEndStartModifier, getEndTagChar, getFilterState, getNeedClosingTag, getNeedLineBreak, getPrettyPrint, getStartTagChar, getTabLevel, getTagPosition, getVersion, output, output, setBeginEndModifier, setBeginStartModifier, setCase, setElementType, setEndEndModifier, setEndStartModifier, setEndTagChar, setFilterState, setNeedClosingTag, setPrettyPrint, setStartTagChar, setTabLevel, setTagPosition

    Methods inherited from interface org.apache.ecs.ElementRegistry

    addElementToRegistry, addElementToRegistry, registryHasElement, registryHasElement, removeElementFromRegistry, removeElementFromRegistry
  • Field Details

    • _scriptsId

      protected static String _scriptsId
    • _name

      protected String _name
  • Constructor Details

    • ScriptRef

      public ScriptRef(String name, String src)
      Creates a new ScriptRef
      Parameters:
      name - The name
      src - The src
  • Method Details

    • changes

      public static void changes()
      Method that indicate that something is changed, it changes the id
    • getId

      public static String getId()
      Returns the id
      Returns:
      The id
    • getName

      public String getName()
      Description copied from interface: NamedElement
      Returns the name of the Element
      Specified by:
      getName in interface NamedElement
      Returns:
      The name of the Element