Uses of Class
org.apache.sling.contentparser.api.ParserOptions
-
-
Uses of ParserOptions in org.apache.sling.contentparser.api
Methods in org.apache.sling.contentparser.api that return ParserOptions Modifier and Type Method Description ParserOptions
ParserOptions. defaultPrimaryType(java.lang.String value)
Default "jcr:primaryType" property for resources that have no explicit value for this value.ParserOptions
ParserOptions. detectCalendarValues(boolean value)
Some content formats like JSON do not contain information to identify date/time values.ParserOptions
ParserOptions. ignorePropertyNames(java.util.Set<java.lang.String> value)
Set a list of property names that should be ignored when parsing the content file.ParserOptions
ParserOptions. ignoreResourceNames(java.util.Set<java.lang.String> value)
Set a list of resource/node names that should be ignored when parsing the content file.ParserOptions
ParserOptions. removePropertyNamePrefixes(java.util.Set<java.lang.String> value)
Set a list of property name prefixes that should be removed automatically from the property name.Methods in org.apache.sling.contentparser.api with parameters of type ParserOptions Modifier and Type Method Description void
ContentParser. parse(ContentHandler contentHandler, java.io.InputStream inputStream, ParserOptions parserOptions)
Parse content in a "stream-based" way.
-