repo1.maven.org$maven2@org.apache.sling$org.apache.sling.api@2.0.6@org$apache$sling$api$resource$ValueMap.java
repo1.maven.org$maven2@org.apache.sling$org.apache.sling.api@2.0.6
oh
o
[]
package org.apache.sling.api.resource;
Empty immutable value map.
Get a named property and convert it into the given type.
- Parameters:
name The name of the propertytype The class of the type- Returns:
- Return named value converted to type T or
null if
non existing or can't be converted.
Get a named property and convert it into the given type.
- Parameters:
name The name of the propertydefaultValue The default value to use if the named property does
not exist or cannot be converted to the requested type. The
default value is also used to define the type to convert the
value to. If this is null any existing propert is
not converted.- Returns:
- Return named value converted to type T or the default value if
non existing or can't be converted.