C D G I O P R S 
All Classes All Packages

C

ContentHandler - Interface in org.apache.sling.contentparser.api
A ContentHandler gets notified while parsing content with a ContentParser.
ContentParser - Interface in org.apache.sling.contentparser.api
A ContentParser parses Sling resource trees from a file.
convertSingleTypeArray(Object[]) - Static method in class org.apache.sling.contentparser.api.ParserHelper
Converts a multi-value property to a single object.

D

DEFAULT_IGNORE_RESOURCE_NAMES - Static variable in class org.apache.sling.contentparser.api.ParserOptions
Default list of resource names that should be ignored.
DEFAULT_PRIMARY_TYPE - Static variable in class org.apache.sling.contentparser.api.ParserOptions
Default primary type.
DEFAULT_REMOVE_PROPERTY_NAME_PREFIXES - Static variable in class org.apache.sling.contentparser.api.ParserOptions
Default list of prefixes to remove from property names.
defaultPrimaryType(String) - Method in class org.apache.sling.contentparser.api.ParserOptions
Default "jcr:primaryType" property for resources that have no explicit value for this value.
detectCalendarValues(boolean) - Method in class org.apache.sling.contentparser.api.ParserOptions
Some content formats like JSON do not contain information to identify date/time values.

G

getDefaultPrimaryType() - Method in class org.apache.sling.contentparser.api.ParserOptions
 
getIgnorePropertyNames() - Method in class org.apache.sling.contentparser.api.ParserOptions
 
getIgnoreResourceNames() - Method in class org.apache.sling.contentparser.api.ParserOptions
 
getRemovePropertyNamePrefixes() - Method in class org.apache.sling.contentparser.api.ParserOptions
 

I

ignorePropertyNames(Set<String>) - Method in class org.apache.sling.contentparser.api.ParserOptions
Set a list of property names that should be ignored when parsing the content file.
ignoreResourceNames(Set<String>) - Method in class org.apache.sling.contentparser.api.ParserOptions
Set a list of resource/node names that should be ignored when parsing the content file.
isDetectCalendarValues() - Method in class org.apache.sling.contentparser.api.ParserOptions
 

O

org.apache.sling.contentparser.api - package org.apache.sling.contentparser.api
 

P

parse(ContentHandler, InputStream, ParserOptions) - Method in interface org.apache.sling.contentparser.api.ContentParser
Parse content in a "stream-based" way.
parseDate(String) - Static method in class org.apache.sling.contentparser.api.ParserHelper
Attempts to parse a string using first the ParserHelper.ISO_8601_MILLISECONDS_DATE_FORMAT format and then the ParserHelper.ECMA_DATE_FORMAT.
ParserHelper - Class in org.apache.sling.contentparser.api
 
ParserOptions - Class in org.apache.sling.contentparser.api
Generic options for content parsers.
ParserOptions() - Constructor for class org.apache.sling.contentparser.api.ParserOptions
 

R

removePropertyNamePrefixes(Set<String>) - Method in class org.apache.sling.contentparser.api.ParserOptions
Set a list of property name prefixes that should be removed automatically from the property name.
resource(String, Map<String, Object>) - Method in interface org.apache.sling.contentparser.api.ContentHandler
Resource found in parsed content.

S

SERVICE_PROPERTY_CONTENT_TYPE - Static variable in interface org.apache.sling.contentparser.api.ContentParser
OSGi service registration property indicating the content type this ContentParser supports.
C D G I O P R S 
All Classes All Packages