Skip to content

Package io.github.qishr.cascara.common.lang.processor

Class ProcessorFactory

java.lang.Object
        io.github.qishr.cascara.common.service.AbstractServiceProviderFactory
                io.github.qishr.cascara.common.lang.processor.ProcessorFactory


@io.github.qishr.cascara.common.lang.annotation.Beta
public class ProcessorFactory
extends AbstractServiceProviderFactory

Field Summary

Modifier and Type Field Description
public static final String CONTENT_TYPE

Constructor Summary

Constructor Description
ProcessorFactory()
ProcessorFactory(ServiceProviderLayer layer)

Method Summary

Modifier and Type Method Description
public Tokenizer<?> createTokenizer(String contentType)
public Tokenizer<?> createTokenizer(ContentType contentType)
public AstParser createAstParser(String contentType)
public AstParser createAstParser(ContentType contentType)
public PullParser createPullParser(String contentType)
public PullParser createPullParser(ContentType contentType)
public PushParser createPushParser(String contentType)
public PushParser createPushParser(ContentType contentType)
public Serializer<?> createSerializer(String contentType)
public Serializer<?> createSerializer(ContentType contentType)

Methods inherited from AbstractServiceProviderFactory

createServiceProvider

Field Details

CONTENT_TYPE

public static final String CONTENT_TYPE

See Also:

Constant Field Values


Method Details

createTokenizer

public Tokenizer<?> createTokenizer(String contentType)

Throws:

ServiceException


createTokenizer

public Tokenizer<?> createTokenizer(ContentType contentType)

Throws:

ServiceException


createAstParser

public AstParser createAstParser(String contentType)

Throws:

ServiceException


createAstParser

public AstParser createAstParser(ContentType contentType)

Throws:

ServiceException


createPullParser

public PullParser createPullParser(String contentType)

Throws:

ServiceException


createPullParser

public PullParser createPullParser(ContentType contentType)

Throws:

ServiceException


createPushParser

public PushParser createPushParser(String contentType)

Throws:

ServiceException


createPushParser

public PushParser createPushParser(ContentType contentType)

Throws:

ServiceException


createSerializer

public Serializer<?> createSerializer(String contentType)

Throws:

ServiceException


createSerializer

public Serializer<?> createSerializer(ContentType contentType)

Throws:

ServiceException