public final class PropertiesCoder extends Object
Copyright 2004 SAP AG
Modifier and Type | Class and Description |
---|---|
static class |
PropertiesCoder.PropertiesDecodeException |
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_COUNT |
static String |
ATTR_VALUE |
static String |
TAG_PROP_SERVICE |
static String |
TAG_PROPERTIES |
static String |
TAG_PROPERTY |
static String |
TAG_PROPERTY_SIZE |
static String |
TAG_PROPERTY_VALUE |
static Set |
TAGS |
Constructor and Description |
---|
PropertiesCoder() |
Modifier and Type | Method and Description |
---|---|
static IProperty |
decode(Attributes attr,
List values)
Decodes a property from the data in the XML-file
|
static Properties |
getDefinition(IProperty prop)
Writes out all definition parts of the property into the returned
Properties instance |
static List |
getValues(IProperty prop) |
public static final String TAG_PROP_SERVICE
public static final String TAG_PROPERTIES
public static final String TAG_PROPERTY
public static final String TAG_PROPERTY_VALUE
public static final String TAG_PROPERTY_SIZE
public static final String ATTR_VALUE
public static final String ATTR_COUNT
public static final Set TAGS
public static Properties getDefinition(IProperty prop)
Properties
instanceprop
- the property of a resource to encode, must not be null
Properties
instance holding the definitionpublic static List getValues(IProperty prop)
prop
- the property to retrieve the value(s) of. Must not be null
.String
objects. If
the property is of type DATE
, this value is transformed
using the DateTimeFormat.format()
method. This list might be
empty, but never null
public static IProperty decode(Attributes attr, List values) throws ResourceException
attr
- the attributes representation in the xml-file of the
ContentHandler
values
- valuesResourceException
- on errorAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice