thinkmap.xmlconfig
Class Assembler.XObjectImpl

java.lang.Object
  extended by thinkmap.xmlconfig.Assembler.XObjectImpl
All Implemented Interfaces:
XObject
Enclosing class:
Assembler

protected static class Assembler.XObjectImpl
extends Object
implements XObject


Constructor Summary
protected Assembler.XObjectImpl(Class<?> type, Object value)
           
 
Method Summary
 boolean equals(Object o)
           
 Class<?> getDeclaredType()
           
 Class<?> getType()
           
 Object getValue()
           
 int hashCode()
           
 boolean isType(Class<?> c)
           
 boolean needsCast(Class<?> c)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Assembler.XObjectImpl

protected Assembler.XObjectImpl(Class<?> type,
                                Object value)
Method Detail

isType

public boolean isType(Class<?> c)
Specified by:
isType in interface XObject

getType

public Class<?> getType()
Specified by:
getType in interface XObject

getDeclaredType

public Class<?> getDeclaredType()
Specified by:
getDeclaredType in interface XObject

getValue

public Object getValue()
Specified by:
getValue in interface XObject

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

needsCast

public boolean needsCast(Class<?> c)
Specified by:
needsCast in interface XObject


Copyright © 2013 Thinkmap, Inc. All Rights Reserved.