|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.beans.metadata.plugins.AbstractValueMetaData
org.jboss.beans.metadata.plugins.AbstractTypeMetaData
org.jboss.beans.metadata.plugins.StringValueMetaData
public class StringValueMetaData
String value.
Field Summary |
---|
Fields inherited from class org.jboss.beans.metadata.plugins.AbstractTypeMetaData |
---|
beanName, configurator, context, propertyName, type |
Fields inherited from class org.jboss.util.JBossObject |
---|
hashCode, toString |
Fields inherited from interface org.jboss.beans.metadata.plugins.TypeProvider |
---|
ERROR_MSG |
Constructor Summary | |
---|---|
StringValueMetaData()
Create a new string value |
|
StringValueMetaData(String value)
Create a new string value |
Method Summary | |
---|---|
StringValueMetaData |
clone()
Clone the object |
protected Object |
getDefaultInstance()
Get the default instance. |
org.jboss.reflect.spi.TypeInfo |
getType(MetaDataVisitor visitor,
MetaDataVisitorNode previous)
Get the injectee type info. |
String |
getValue()
|
Object |
getValue(org.jboss.reflect.spi.TypeInfo info,
ClassLoader cl)
Get the value. |
boolean |
isReplace()
|
boolean |
isTrim()
|
protected boolean |
isUseJMXObjectNameFix()
Do we use jmx object name fix. |
void |
setReplace(boolean replace)
|
void |
setTrim(boolean trim)
|
void |
setValue(Object value)
|
void |
setValue(String value)
Set the value |
Methods inherited from class org.jboss.beans.metadata.plugins.AbstractTypeMetaData |
---|
checkResult, createInstance, getClass, getClassInfo, getClassInfo, getType, getTypeInfo, getTypeInfo, getTypeInstance, getTypeInstance, initialVisit, preinstantiatedLookup, preparePreinstantiatedLookup, setConfigurator, setType, toString |
Methods inherited from class org.jboss.beans.metadata.plugins.AbstractValueMetaData |
---|
describeVisit, getChildren, getUnderlyingValue, toShortString |
Methods inherited from class org.jboss.util.JBossObject |
---|
cacheGetHashCode, cacheToString, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.util.JBossInterface |
---|
toShortString |
Constructor Detail |
---|
public StringValueMetaData()
public StringValueMetaData(String value)
value
- the valueMethod Detail |
---|
protected boolean isUseJMXObjectNameFix()
AbstractValueMetaData
isUseJMXObjectNameFix
in class AbstractValueMetaData
public String getValue()
getValue
in class AbstractValueMetaData
public void setValue(String value)
value
- the valuepublic void setValue(Object value)
setValue
in class AbstractValueMetaData
public Object getValue(org.jboss.reflect.spi.TypeInfo info, ClassLoader cl) throws Throwable
ValueMetaData
getValue
in interface ValueMetaData
getValue
in class AbstractValueMetaData
info
- the type infocl
- the classloader
Throwable
- for any errorprotected Object getDefaultInstance()
AbstractTypeMetaData
getDefaultInstance
in class AbstractTypeMetaData
public org.jboss.reflect.spi.TypeInfo getType(MetaDataVisitor visitor, MetaDataVisitorNode previous) throws Throwable
TypeProvider
getType
in interface TypeProvider
getType
in class AbstractValueMetaData
visitor
- meda data visitorprevious
- previous node in the stack
Throwable
- if could not determine classpublic boolean isReplace()
public void setReplace(boolean replace)
public boolean isTrim()
public void setTrim(boolean trim)
public StringValueMetaData clone()
MetaDataVisitorNode
clone
in interface MetaDataVisitorNode
clone
in interface org.jboss.util.JBossInterface
clone
in class AbstractValueMetaData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |