public interface MicrodataAttributeHelper
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
allItemPropMap()
Get a map of maps with the HTMl attributes for each property of the type defined through
a new
MicrodataAttributeHelper |
java.util.Map<java.lang.String,java.lang.String> |
allPropTypesMap()
Get a map of types for each type property.
|
java.lang.String |
itemprop(java.lang.String propName)
Calls
itemprop(String, boolean) with 'withType' true |
java.lang.String |
itemprop(java.lang.String propName,
boolean withType)
Calls
itempropMap(String, boolean) and normalizes the map into a String of the form 'attr1="val1" attr2="val2"' |
java.util.Map<java.lang.String,java.lang.String> |
itempropMap(java.lang.String propName,
boolean withType)
Get a map with the HTMl attributes for the given property of the type defined through
a new
MicrodataAttributeHelper |
java.lang.String |
itemtype()
Calls
itemtypeMap() and normalizes the map into a String of the form 'attr1="val1" attr2="val2"' |
java.util.Map<java.lang.String,java.lang.String> |
itemtypeMap()
Get a map with the HTMl attributes for a new item of the type defined through
a new
MicrodataAttributeHelper object |
java.lang.String itemtype()
itemtypeMap()
and normalizes the map into a String of the form 'attr1="val1" attr2="val2"'java.util.Map<java.lang.String,java.lang.String> itemtypeMap()
MicrodataAttributeHelper
object
The key is the HTMl attribute name and the value is the HTML attribute value
java.lang.String itemprop(java.lang.String propName)
itemprop(String, boolean)
with 'withType' truepropName
- java.lang.String itemprop(java.lang.String propName, boolean withType)
itempropMap(String, boolean)
and normalizes the map into a String of the form 'attr1="val1" attr2="val2"'propName
- withType
- java.util.Map<java.lang.String,java.lang.String> itempropMap(java.lang.String propName, boolean withType)
MicrodataAttributeHelper
The key is the HTMl attribute name and the value is the HTML attribute value
Will through a HApiException
runtime exception if the property propName does not exist for the type
propName
- the name of the propertywithType
- whether to include the 'itemtype' attributejava.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> allItemPropMap()
MicrodataAttributeHelper
The key is the property name and the value is a map of attributes like the one returned
by itempropMap(String, boolean)
java.util.Map<java.lang.String,java.lang.String> allPropTypesMap()
The key is the property name and the value is the type path identifier of that property
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"