Class PasswordXMLElementType
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.core.model.type.AbstractModelItemType
-
- org.ametys.core.model.type.AbstractElementType<String>
-
- org.ametys.core.model.type.AbstractStringElementType
-
- org.ametys.plugins.core.impl.model.type.xml.StringXMLElementType
-
- org.ametys.plugins.core.impl.model.type.xml.PasswordXMLElementType
-
- All Implemented Interfaces:
ElementType<String>
,ModelItemType
,XMLElementType<String>
,LogEnabled
,PluginAware
,Component
,Serviceable
public class PasswordXMLElementType extends StringXMLElementType
Class for password XML element type
-
-
Field Summary
-
Fields inherited from class org.ametys.core.model.type.AbstractElementType
_jsonUtils
-
-
Constructor Summary
Constructors Constructor Description PasswordXMLElementType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
valueToJSONForClient(Object value, DataContext context)
Convert the value into a JSON object to use client side-
Methods inherited from class org.ametys.plugins.core.impl.model.type.xml.StringXMLElementType
readValueFromNode
-
Methods inherited from class org.ametys.core.model.type.AbstractStringElementType
_compareSingleValues, convertValue, fromJSONForClient, isSimple, passwordValueToJSONForClient, toString
-
Methods inherited from class org.ametys.core.model.type.AbstractElementType
_compareMultipleValues, _getValueAttributes, _isValueFromXMLMultiple, _singleValueFromXML, _singleValueToJSON, _singleValueToSAX, _useJSONForEdition, _valueToSAX, _valueToSAX, _valueToSAXForEdition, castValue, compareValues, getManagedClass, getManagedClassArray, isCompatible, parseConfiguration, service, valueFromXML, valueToSAX, valueToSAXForEdition
-
Methods inherited from class org.ametys.core.model.type.AbstractModelItemType
_getContextAttributes, getId, setPluginInfo
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ametys.runtime.model.type.ElementType
castValue, compareValues, fromJSONForClient, getManagedClass, getManagedClassArray, isCompatible, isSimple, parseConfiguration, toString, valueFromXML
-
Methods inherited from interface org.ametys.runtime.model.type.ModelItemType
getId, valueToSAX, valueToSAX, valueToSAXForEdition
-
Methods inherited from interface org.ametys.runtime.plugin.component.PluginAware
setPluginInfo
-
Methods inherited from interface org.ametys.runtime.model.type.xml.XMLElementType
read, write
-
-
-
-
Constructor Detail
-
PasswordXMLElementType
public PasswordXMLElementType()
-
-
Method Detail
-
valueToJSONForClient
public Object valueToJSONForClient(Object value, DataContext context)
Description copied from interface:ElementType
Convert the value into a JSON object to use client side- Specified by:
valueToJSONForClient
in interfaceElementType<String>
- Overrides:
valueToJSONForClient
in classAbstractElementType<String>
- Parameters:
value
- the value to convertcontext
- The context of the data to convert- Returns:
- The value as JSON
-
-