public Attribute getAttribute(String name) { return attrList.getAttribute(name); }
public Attribute getAttribute(int index) { return attrList.getAttribute(index); }
public Attribute getAttribute(String name) { if (name == null) return null; int nLists = size(); for (int n=0; n<nLists; n++) { Attribute elem = getAttribute(n); if (name.compareTo(elem.getName()) == 0) return elem; } return null; } }
public Attribute getAttribute(String name) { return attrList.getAttribute(name); }
public Attribute getAttribute(String name) { return attrList.getAttribute(name); }
public Attribute getAttribute(int index) { return attrList.getAttribute(index); }
public Attribute getAttribute(String name) { return attrList.getAttribute(name); }
public Attribute getAttribute(int index) { return attrList.getAttribute(index); }
public Attribute getAttribute(String name) { return attrList.getAttribute(name); }
public Attribute getAttribute(int index) { return attrList.getAttribute(index); }
public Attribute getAttribute(int index) { return attrList.getAttribute(index); }
public Attribute getAttribute(String name) { if (name == null) return null; int nLists = size(); for (int n=0; n<nLists; n++) { Attribute elem = getAttribute(n); if (name.compareTo(elem.getName()) == 0) return elem; } return null; } }
public Attribute getAttribute(String name) { if (name == null) return null; int nLists = size(); for (int n=0; n<nLists; n++) { Attribute elem = getAttribute(n); if (name.compareTo(elem.getName()) == 0) return elem; } return null; } }
public void setResource(String url, String protocolInfo, AttributeList attrList) { setProperty(DIDLLite.RES, url); setPropertyAttribure(DIDLLite.RES, DIDLLite.RES_PROTOCOLINFO, protocolInfo); int attrCnt = attrList.size(); for (int n=0; n<attrCnt; n++) { Attribute attr = attrList.getAttribute(n); String name = attr.getName(); String value = attr.getValue(); setPropertyAttribure(DIDLLite.RES, name, value); } }
public void setResource(String url, String protocolInfo, AttributeList attrList) { setProperty(DIDLLite.RES, url); setPropertyAttribure(DIDLLite.RES, DIDLLite.RES_PROTOCOLINFO, protocolInfo); int attrCnt = attrList.size(); for (int n=0; n<attrCnt; n++) { Attribute attr = attrList.getAttribute(n); String name = attr.getName(); String value = attr.getValue(); setPropertyAttribure(DIDLLite.RES, name, value); } }