public final class DebugLoggingPropertySet
extends java.lang.Object
implements com.opensymphony.module.propertyset.PropertySet, java.io.Serializable
PropertySet
.Constructor and Description |
---|
DebugLoggingPropertySet(com.opensymphony.module.propertyset.PropertySet delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
exists(java.lang.String key) |
java.lang.Object |
getAsActualType(java.lang.String key) |
boolean |
getBoolean(java.lang.String key) |
byte[] |
getData(java.lang.String key) |
java.util.Date |
getDate(java.lang.String key) |
double |
getDouble(java.lang.String key) |
int |
getInt(java.lang.String key) |
java.util.Collection |
getKeys() |
java.util.Collection |
getKeys(int type) |
java.util.Collection |
getKeys(java.lang.String prefix) |
java.util.Collection |
getKeys(java.lang.String prefix,
int type) |
long |
getLong(java.lang.String key) |
java.lang.Object |
getObject(java.lang.String key) |
java.util.Properties |
getProperties(java.lang.String key) |
com.opensymphony.module.propertyset.PropertySetSchema |
getSchema() |
java.lang.String |
getString(java.lang.String key) |
java.lang.String |
getText(java.lang.String key) |
int |
getType(java.lang.String key) |
org.w3c.dom.Document |
getXML(java.lang.String key) |
void |
init(java.util.Map config,
java.util.Map args) |
boolean |
isSettable(java.lang.String property) |
void |
remove(java.lang.String key) |
void |
setAsActualType(java.lang.String key,
java.lang.Object value) |
void |
setBoolean(java.lang.String key,
boolean value) |
void |
setData(java.lang.String key,
byte[] value) |
void |
setDate(java.lang.String key,
java.util.Date value) |
void |
setDouble(java.lang.String key,
double value) |
void |
setInt(java.lang.String key,
int value) |
void |
setLong(java.lang.String key,
long value) |
void |
setObject(java.lang.String key,
java.lang.Object value) |
void |
setProperties(java.lang.String key,
java.util.Properties value) |
void |
setSchema(com.opensymphony.module.propertyset.PropertySetSchema schema) |
void |
setString(java.lang.String key,
java.lang.String value) |
void |
setText(java.lang.String key,
java.lang.String value) |
void |
setXML(java.lang.String key,
org.w3c.dom.Document value) |
boolean |
supportsType(int type) |
boolean |
supportsTypes() |
java.lang.String |
toString() |
public DebugLoggingPropertySet(com.opensymphony.module.propertyset.PropertySet delegate)
public void setSchema(com.opensymphony.module.propertyset.PropertySetSchema schema) throws com.opensymphony.module.propertyset.PropertyException
setSchema
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public com.opensymphony.module.propertyset.PropertySetSchema getSchema() throws com.opensymphony.module.propertyset.PropertyException
getSchema
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setAsActualType(java.lang.String key, java.lang.Object value) throws com.opensymphony.module.propertyset.PropertyException
setAsActualType
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public java.lang.Object getAsActualType(java.lang.String key) throws com.opensymphony.module.propertyset.PropertyException
getAsActualType
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setBoolean(java.lang.String key, boolean value) throws com.opensymphony.module.propertyset.PropertyException
setBoolean
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public boolean getBoolean(java.lang.String key) throws com.opensymphony.module.propertyset.PropertyException
getBoolean
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setData(java.lang.String key, byte[] value) throws com.opensymphony.module.propertyset.PropertyException
setData
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public byte[] getData(java.lang.String key) throws com.opensymphony.module.propertyset.PropertyException
getData
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setDate(java.lang.String key, java.util.Date value) throws com.opensymphony.module.propertyset.PropertyException
setDate
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public java.util.Date getDate(java.lang.String key) throws com.opensymphony.module.propertyset.PropertyException
getDate
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setDouble(java.lang.String key, double value) throws com.opensymphony.module.propertyset.PropertyException
setDouble
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public double getDouble(java.lang.String key) throws com.opensymphony.module.propertyset.PropertyException
getDouble
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setInt(java.lang.String key, int value) throws com.opensymphony.module.propertyset.PropertyException
setInt
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public int getInt(java.lang.String key) throws com.opensymphony.module.propertyset.PropertyException
getInt
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public java.util.Collection getKeys() throws com.opensymphony.module.propertyset.PropertyException
getKeys
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public java.util.Collection getKeys(int type) throws com.opensymphony.module.propertyset.PropertyException
getKeys
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public java.util.Collection getKeys(java.lang.String prefix) throws com.opensymphony.module.propertyset.PropertyException
getKeys
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public java.util.Collection getKeys(java.lang.String prefix, int type) throws com.opensymphony.module.propertyset.PropertyException
getKeys
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setLong(java.lang.String key, long value) throws com.opensymphony.module.propertyset.PropertyException
setLong
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public long getLong(java.lang.String key) throws com.opensymphony.module.propertyset.PropertyException
getLong
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setObject(java.lang.String key, java.lang.Object value) throws com.opensymphony.module.propertyset.PropertyException
setObject
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public java.lang.Object getObject(java.lang.String key) throws com.opensymphony.module.propertyset.PropertyException
getObject
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setProperties(java.lang.String key, java.util.Properties value) throws com.opensymphony.module.propertyset.PropertyException
setProperties
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public java.util.Properties getProperties(java.lang.String key) throws com.opensymphony.module.propertyset.PropertyException
getProperties
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public boolean isSettable(java.lang.String property)
isSettable
in interface com.opensymphony.module.propertyset.PropertySet
public void setString(java.lang.String key, java.lang.String value) throws com.opensymphony.module.propertyset.PropertyException
setString
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public java.lang.String getString(java.lang.String key) throws com.opensymphony.module.propertyset.PropertyException
getString
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setText(java.lang.String key, java.lang.String value) throws com.opensymphony.module.propertyset.PropertyException
setText
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public java.lang.String getText(java.lang.String key) throws com.opensymphony.module.propertyset.PropertyException
getText
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public int getType(java.lang.String key) throws com.opensymphony.module.propertyset.PropertyException
getType
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setXML(java.lang.String key, org.w3c.dom.Document value) throws com.opensymphony.module.propertyset.PropertyException
setXML
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public org.w3c.dom.Document getXML(java.lang.String key) throws com.opensymphony.module.propertyset.PropertyException
getXML
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public boolean exists(java.lang.String key) throws com.opensymphony.module.propertyset.PropertyException
exists
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void init(java.util.Map config, java.util.Map args)
init
in interface com.opensymphony.module.propertyset.PropertySet
public void remove(java.lang.String key) throws com.opensymphony.module.propertyset.PropertyException
remove
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public boolean supportsType(int type)
supportsType
in interface com.opensymphony.module.propertyset.PropertySet
public boolean supportsTypes()
supportsTypes
in interface com.opensymphony.module.propertyset.PropertySet
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-2014 Atlassian. All Rights Reserved.