Tabnine Logo
Item.addDescMetadata
Code IndexAdd Tabnine to your IDE (free)

How to use
addDescMetadata
method
in
org.fourthline.cling.support.model.item.Item

Best Java code snippets using org.fourthline.cling.support.model.item.Item.addDescMetadata (Showing top 3 results out of 315)

origin: 4thline/cling

@Override
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
  super.startElement(uri, localName, qName, attributes);
  if (!DIDLContent.NAMESPACE_URI.equals(uri)) return;
  if (localName.equals("res")) {
    Res res = createResource(attributes);
    if (res != null) {
      getInstance().addResource(res);
      createResHandler(res, this);
    }
  } else if (localName.equals("desc")) {
    DescMeta desc = createDescMeta(attributes);
    getInstance().addDescMetadata(desc);
    createDescMetaHandler(desc, this);
  }
}
origin: kingthy/TVRemoteIME

@Override
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
  super.startElement(uri, localName, qName, attributes);
  if (!DIDLContent.NAMESPACE_URI.equals(uri)) return;
  if (localName.equals("res")) {
    Res res = createResource(attributes);
    if (res != null) {
      getInstance().addResource(res);
      createResHandler(res, this);
    }
  } else if (localName.equals("desc")) {
    DescMeta desc = createDescMeta(attributes);
    getInstance().addDescMetadata(desc);
    createDescMetaHandler(desc, this);
  }
}
origin: org.fourthline.cling/cling-support

@Override
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
  super.startElement(uri, localName, qName, attributes);
  if (!DIDLContent.NAMESPACE_URI.equals(uri)) return;
  if (localName.equals("res")) {
    Res res = createResource(attributes);
    if (res != null) {
      getInstance().addResource(res);
      createResHandler(res, this);
    }
  } else if (localName.equals("desc")) {
    DescMeta desc = createDescMeta(attributes);
    getInstance().addDescMetadata(desc);
    createDescMetaHandler(desc, this);
  }
}
org.fourthline.cling.support.model.itemItemaddDescMetadata

Popular methods of Item

  • getId
  • getTitle
  • getCreator
  • getFirstResource
  • getRefID
  • getResources
  • getClazz
  • getParentID
  • getWriteStatus
  • setRefID
  • <init>
  • addResource
  • <init>,
  • addResource,
  • getDescMetadata,
  • isRestricted,
  • setId,
  • setParentID,
  • setRestricted,
  • getFirstProperty,
  • getProperties

Popular in Java

  • Reactive rest calls using spring rest template
  • findViewById (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • compareTo (BigDecimal)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Runner (org.openjdk.jmh.runner)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now