protected WireFeed parseChannel(Element rssRoot) { Channel channel = (Channel) super.parseChannel(rssRoot); Element eChannel = rssRoot.getChild("channel",getRSSNamespace()); Element eCloud = eChannel.getChild("cloud",getRSSNamespace()); if (eCloud!=null) { Cloud cloud = new Cloud(); String att = eCloud.getAttributeValue("domain");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setDomain(att); } att = eCloud.getAttributeValue("port");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setPort(Integer.parseInt(att.trim())); } att = eCloud.getAttributeValue("path");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setPath(att); } att = eCloud.getAttributeValue("registerProcedure");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setRegisterProcedure(att); } att = eCloud.getAttributeValue("protocol");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setProtocol(att); } channel.setCloud(cloud); } return channel; }
protected WireFeed parseChannel(Element rssRoot) { Channel channel = (Channel) super.parseChannel(rssRoot); Element eChannel = rssRoot.getChild("channel",getRSSNamespace()); Element eCloud = eChannel.getChild("cloud",getRSSNamespace()); if (eCloud!=null) { Cloud cloud = new Cloud(); String att = eCloud.getAttributeValue("domain");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setDomain(att); } att = eCloud.getAttributeValue("port");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setPort(Integer.parseInt(att.trim())); } att = eCloud.getAttributeValue("path");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setPath(att); } att = eCloud.getAttributeValue("registerProcedure");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setRegisterProcedure(att); } att = eCloud.getAttributeValue("protocol");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setProtocol(att); } channel.setCloud(cloud); } return channel; }
protected WireFeed parseChannel(Element rssRoot) { Channel channel = (Channel) super.parseChannel(rssRoot); Element eChannel = rssRoot.getChild("channel",getRSSNamespace()); Element eCloud = eChannel.getChild("cloud",getRSSNamespace()); if (eCloud!=null) { Cloud cloud = new Cloud(); String att = eCloud.getAttributeValue("domain");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setDomain(att); } att = eCloud.getAttributeValue("port");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setPort(Integer.parseInt(att.trim())); } att = eCloud.getAttributeValue("path");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setPath(att); } att = eCloud.getAttributeValue("registerProcedure");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setRegisterProcedure(att); } att = eCloud.getAttributeValue("protocol");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setProtocol(att); } channel.setCloud(cloud); } return channel; }
protected WireFeed parseChannel(Element rssRoot) { Channel channel = (Channel) super.parseChannel(rssRoot); Element eChannel = rssRoot.getChild("channel",getRSSNamespace()); Element eCloud = eChannel.getChild("cloud",getRSSNamespace()); if (eCloud!=null) { Cloud cloud = new Cloud(); String att = eCloud.getAttributeValue("domain");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setDomain(att); } att = eCloud.getAttributeValue("port");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setPort(Integer.parseInt(att.trim())); } att = eCloud.getAttributeValue("path");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setPath(att); } att = eCloud.getAttributeValue("registerProcedure");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setRegisterProcedure(att); } att = eCloud.getAttributeValue("protocol");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cloud.setProtocol(att); } channel.setCloud(cloud); } return channel; }