tigase.jaxmpp.gwt.client.xml
Class GwtElement
java.lang.Object
tigase.jaxmpp.gwt.client.xml.GwtElement
- All Implemented Interfaces:
- tigase.jaxmpp.core.client.xml.Element
public class GwtElement
- extends Object
- implements tigase.jaxmpp.core.client.xml.Element
|
Constructor Summary |
GwtElement(com.google.gwt.xml.client.Element xmlElement)
|
GwtElement
public GwtElement(com.google.gwt.xml.client.Element xmlElement)
parse
public static GwtElement parse(String data)
addChild
public tigase.jaxmpp.core.client.xml.Element addChild(tigase.jaxmpp.core.client.xml.Element child)
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
addChild in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getAsString
public String getAsString()
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
getAsString in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
getAttribute
public String getAttribute(String attName)
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
getAttribute in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
getAttributes
public Map<String,String> getAttributes()
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
getAttributes in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
getChildAfter
public tigase.jaxmpp.core.client.xml.Element getChildAfter(tigase.jaxmpp.core.client.xml.Element child)
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
getChildAfter in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
getChildren
public List<tigase.jaxmpp.core.client.xml.Element> getChildren()
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
getChildren in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
getChildren
public List<tigase.jaxmpp.core.client.xml.Element> getChildren(String name)
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
getChildren in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
getChildrenNS
public List<tigase.jaxmpp.core.client.xml.Element> getChildrenNS(String xmlns)
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
getChildrenNS in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
getChildrenNS
public tigase.jaxmpp.core.client.xml.Element getChildrenNS(String name,
String xmlns)
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
getChildrenNS in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
getFirstChild
public tigase.jaxmpp.core.client.xml.Element getFirstChild()
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
getFirstChild in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
getName
public String getName()
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
getName in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
getNextSibling
public tigase.jaxmpp.core.client.xml.Element getNextSibling()
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
getNextSibling in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
getParent
public tigase.jaxmpp.core.client.xml.Element getParent()
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
getParent in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
getValue
public String getValue()
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
getValue in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
getXMLNS
public String getXMLNS()
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
getXMLNS in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
removeAttribute
public void removeAttribute(String key)
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
removeAttribute in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
removeChild
public void removeChild(tigase.jaxmpp.core.client.xml.Element child)
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
removeChild in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
setAttribute
public void setAttribute(String key,
String value)
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
setAttribute in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
setAttributes
public void setAttributes(Map<String,String> attrs)
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
setAttributes in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
setParent
public void setParent(tigase.jaxmpp.core.client.xml.Element parent)
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
setParent in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
setValue
public void setValue(String value)
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
setValue in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
setXMLNS
public void setXMLNS(String xmlns)
throws tigase.jaxmpp.core.client.xml.XMLException
- Specified by:
setXMLNS in interface tigase.jaxmpp.core.client.xml.Element
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
Copyright © 2006-2012 Tigase. All Rights Reserved.