ist.palcom.communication.ast
Class ConnectionInfo
java.lang.Object
ist.palcom.communication.ast.ASTNode
ist.palcom.communication.ast.AbstractXMLRepresentable
ist.palcom.communication.ast.Info
ist.palcom.communication.ast.ConnectionInfo
- All Implemented Interfaces:
- XMLRepresentable, Cloneable
public class ConnectionInfo
- extends Info
- implements Cloneable
| Methods inherited from class ist.palcom.communication.ast.ASTNode |
addChild, getChild, getChildNoTransform, getIndexOfChild, getNumChild, getParent, insertChild, remove, removeChild, setChild, setParent |
ConnectionInfo
public ConnectionInfo()
ConnectionInfo
public ConnectionInfo(URN p0,
URN p1)
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone in class Info
- Throws:
CloneNotSupportedException
copy
public ASTNode copy()
- Overrides:
copy in class ASTNode
fullCopy
public ASTNode fullCopy()
- Overrides:
fullCopy in class ASTNode
flushCache
public void flushCache()
- Overrides:
flushCache in class Info
numChildren
protected int numChildren()
- Overrides:
numChildren in class Info
setProviderURN
public void setProviderURN(URN node)
getProviderURN
public URN getProviderURN()
getProviderURNNoTransform
public URN getProviderURNNoTransform()
setCustomerURN
public void setCustomerURN(URN node)
getCustomerURN
public URN getCustomerURN()
getCustomerURNNoTransform
public URN getCustomerURNNoTransform()
isAboutTheSameEntityAs
public boolean isAboutTheSameEntityAs(Info info)
- Specified by:
isAboutTheSameEntityAs in class Info
- Returns:
- True if info and this info are for the same entity. This can be
true even if they are not completely identical, looking at their
whole trees. The equals method for Infos, on the other hand, is
implemented to check for that.
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
getDeviceURN
public URN getDeviceURN()
- Overrides:
getDeviceURN in class Info
- Returns:
- The URN of the device that the entity belongs to, or null.
getTagName
public String getTagName()
- Specified by:
getTagName in interface XMLRepresentable
writeXMLElement
public void writeXMLElement(KXmlSerializer serializer)
throws IOException
- Specified by:
writeXMLElement in interface XMLRepresentable
- Throws:
IOException
initializeFromElement
public void initializeFromElement(XmlPullParser parser)
- Description copied from interface:
XMLRepresentable
- Initialize the XMLRepresentable from the element where the parser is
currently standing. When calling this method, the parser must be on the
start tag of the element. After returning from the method, the parser
will be at the end tag of the element.
- Specified by:
initializeFromElement in interface XMLRepresentable