Class ContentNode

java.lang.Object
org.cybergarage.xml.Node
org.cybergarage.upnp.std.av.server.object.ContentNode
Direct Known Subclasses:
ContainerNode, ItemNode, ResourceNode

public abstract class ContentNode extends org.cybergarage.xml.Node
  • Field Details

  • Constructor Details

    • ContentNode

      public ContentNode()
  • Method Details

    • setContentDirectory

      public void setContentDirectory(ContentDirectory cdir)
    • getContentDirectory

      public ContentDirectory getContentDirectory()
    • getMediaServer

      public MediaServer getMediaServer()
    • isContainerNode

      public boolean isContainerNode()
    • isItemNode

      public boolean isItemNode()
    • getNProperties

      public int getNProperties()
    • getProperty

      public ContentProperty getProperty(int index)
    • getProperty

      public ContentProperty getProperty(String name)
    • addProperty

      public void addProperty(ContentProperty prop)
    • insertPropertyAt

      public void insertPropertyAt(ContentProperty prop, int index)
    • addProperty

      public void addProperty(String name, String value)
    • removeProperty

      public boolean removeProperty(ContentProperty prop)
    • removeProperty

      public boolean removeProperty(String name)
    • hasProperties

      public boolean hasProperties()
    • setProperty

      public void setProperty(String name, String value)
    • setProperty

      public void setProperty(String name, int value)
    • setProperty

      public void setProperty(String name, long value)
    • getPropertyValue

      public String getPropertyValue(String name)
    • getPropertyIntegerValue

      public int getPropertyIntegerValue(String name)
    • getPropertyLongValue

      public long getPropertyLongValue(String name)
    • setPropertyAttribure

      public void setPropertyAttribure(String propName, String attrName, String value)
    • getPropertyAttribureValue

      public String getPropertyAttribureValue(String propName, String attrName)
    • set

      public abstract boolean set(org.cybergarage.xml.Node node)
      Overrides:
      set in class org.cybergarage.xml.Node
    • setID

      public void setID(int id)
    • setID

      public void setID(String id)
    • getID

      public String getID()
    • setParentID

      public void setParentID(int id)
    • setParentID

      public void setParentID(String id)
    • getParentID

      public String getParentID()
    • setRestricted

      public void setRestricted(int id)
    • getRestricted

      public int getRestricted()
    • setTitle

      public void setTitle(String title)
    • getTitle

      public String getTitle()
    • setUPnPClass

      public void setUPnPClass(String title)
    • getUPnPClass

      public String getUPnPClass()
    • isUPnPClassStartWith

      public boolean isUPnPClassStartWith(String targetClass)
    • setWriteStatus

      public void setWriteStatus(String status)
    • getWriteStatus

      public String getWriteStatus()
    • output

      public void output(PrintWriter ps, int indentLevel, boolean hasChildNode)
      Overrides:
      output in class org.cybergarage.xml.Node