Uses of Interface
org.apache.abdera.parser.ParserOptions

Packages that use ParserOptions
org.apache.abdera.parser   
org.apache.abdera.protocol.client   
org.apache.abdera.protocol.server   
org.apache.abdera.protocol.server.context   
 

Uses of ParserOptions in org.apache.abdera.parser
 

Methods in org.apache.abdera.parser that return ParserOptions
 ParserOptions Parser.getDefaultParserOptions()
          Return the default parser options for this Parser.
 ParserOptions ParserOptions.registerEntity(String name, String value)
          Register a named entity.
 ParserOptions ParserOptions.setAutodetectCharset(boolean detect)
          If true, the parser will attempt to automatically detect the character encoding from the stream by checking for the byte order mark or checking the XML prolog.
 ParserOptions ParserOptions.setCharset(String charset)
          Sets the character set to use for the parsed document
 ParserOptions ParserOptions.setCompressionCodecs(CompressionUtil.CompressionCodec... codecs)
          When parsing an InputStream that contains compressed data, use these codecs to decompress the stream.
 ParserOptions ParserOptions.setFactory(Factory factory)
          Sets the factory the parser should use
 ParserOptions ParserOptions.setFilterRestrictedCharacterReplacement(char replacement)
          If getFilterRestrictedCharacters is true, restricted characters will be replaced with the specified character
 ParserOptions ParserOptions.setFilterRestrictedCharacters(boolean filter)
          If true, the parser will attempt to silently filter out invalid XML characters appearing within the XML document
 ParserOptions ParserOptions.setMustPreserveWhitespace(boolean preserve)
          If false, the parser will trim leading and trailing whitespace in element and attribute values unless there is an in-scope xml:space="preserve".
 ParserOptions ParserOptions.setParseFilter(ParseFilter parseFilter)
          Sets the Parse Filter.
 ParserOptions ParserOptions.setQNameAliasMap(Map<QName,QName> map)
          Set the QName-Alias Mapping
 ParserOptions ParserOptions.setQNameAliasMappingEnabled(boolean enabled)
          True if QName-Alias mapping is enabled
 ParserOptions ParserOptions.setResolveEntities(boolean resolve)
          True if undeclared named entities should be resolved.
 

Methods in org.apache.abdera.parser with parameters of type ParserOptions
<T extends Element>
Document<T>
Parser.parse(InputStream in, ParserOptions options)
          Parse the input stream using the default character set encoding (UTF-8).
<T extends Element>
Document<T>
Parser.parse(InputStream in, String base, ParserOptions options)
          Parse the input stream using using the specified Parse options.
<T extends Element>
Document<T>
Parser.parse(ReadableByteChannel buf, ParserOptions options)
          Parse the channel using using the specified Parse options.
<T extends Element>
Document<T>
Parser.parse(ReadableByteChannel buf, String base, ParserOptions options)
          Parse the channel using using the specified Parse options.
<T extends Element>
Document<T>
Parser.parse(Reader in, ParserOptions options)
          Parse the reader using the specified Base URI
<T extends Element>
Document<T>
Parser.parse(Reader in, String base, ParserOptions options)
          Parse the reader using using the specified Parse options.
<T extends Element>
Document<T>
Parser.parse(javax.xml.stream.XMLStreamReader reader, String base, ParserOptions options)
          Parse the channel using using the specified Parse options.
 Parser Parser.setDefaultParserOptions(ParserOptions options)
          Set the default parser options for this Parser.
 

Uses of ParserOptions in org.apache.abdera.protocol.client
 

Methods in org.apache.abdera.protocol.client with parameters of type ParserOptions
<T extends Element>
Document<T>
ClientResponse.getDocument(ParserOptions options)
          If the response contains an XML document, parse the document using the specified ParserOptions
<T extends Element>
Document<T>
AbstractClientResponse.getDocument(ParserOptions options)
          Get the response payload as a parsed Abdera FOM Document using the specified parser options
<T extends Element>
Document<T>
ClientResponse.getDocument(Parser parser, ParserOptions options)
          If the response contains an XML document, parse the document using the specified Parser and ParserOptions
<T extends Element>
Document<T>
AbstractClientResponse.getDocument(Parser parser, ParserOptions options)
          Get the response payload as a parsed Abdera FOM Document using the specified parser and parser options
 

Uses of ParserOptions in org.apache.abdera.protocol.server
 

Methods in org.apache.abdera.protocol.server with parameters of type ParserOptions
<T extends Element>
Document<T>
RequestContext.getDocument(ParserOptions options)
          Use the Abdera Parser to parse the request entity as an XML document
<T extends Element>
Document<T>
RequestContext.getDocument(Parser parser, ParserOptions options)
          Use the Abdera Parser to parse the request entity as an XML document
 

Uses of ParserOptions in org.apache.abdera.protocol.server.context
 

Methods in org.apache.abdera.protocol.server.context with parameters of type ParserOptions
<T extends Element>
Document<T>
RequestContextWrapper.getDocument(ParserOptions options)
           
<T extends Element>
Document<T>
AbstractRequestContext.getDocument(ParserOptions options)
           
<T extends Element>
Document<T>
RequestContextWrapper.getDocument(Parser parser, ParserOptions options)
           
<T extends Element>
Document<T>
AbstractRequestContext.getDocument(Parser parser, ParserOptions options)
           
 



Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.