| 
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BinXMLEncoder
An interface which contains APIs to convert XML to binary stream.
| Field Summary | |
|---|---|
static int | 
ENC_IMPLICIT_SCHEMA_REGIf true, - then the schema in the top level xsi:schemaLocation tag is to be used for validation.  | 
static int | 
ENC_INLINE_TOKEN_DEFSIf true, and if schemaAware = false, then the token definitions will be inlined in the binary stream.  | 
static int | 
ENC_MID_TIER_OPTIf true, and if schemaAware = false, then the binary stream will be optimized for mid-tier usage and will not depend on metadata repository.  | 
static int | 
ENC_SAVE_VALIDATION_INFOIf true, then while encoding store information available after a schema validation, which can be accessed using XDK extension APIs for PSVI on Scalable DOM.  | 
static int | 
ENC_SCHEMA_AWAREIf true, encode the binary stream using a schema.  | 
static int | 
ENC_SCHEMA_LOCATION_AWARE | 
static int | 
ENC_XDB_COMPATIBLEIf true, Encoder will work on XDB compatible mode All whitespaces between elements are considered ignorable  | 
static int | 
ENC_XDB_INLINE_TOKENS | 
| Method Summary | |
|---|---|
 ContentHandler | 
getContentHandler()This is the main SAX handler which receives events such as start and end document, start and end element, character data, etc.  | 
 DeclHandler | 
getDeclHandler()Returns the DeclHandler to be set in the user application.  | 
 DTDHandler | 
getDTDHandler()Returns the DTDHandler to be set in the user application  | 
 ErrorHandler | 
getErrorHandler()Returns the default error handler to be used in the user application  | 
 LexicalHandler | 
getLexicalHandler()Returns the LexcialHandler to be set in the user application.  | 
 void | 
setProperty(int propType, boolean value)Set properties for encoding.  | 
 void | 
setSchema(java.lang.String schemaURL)If ENC_SCHEMA_AWARE is set to true, then this schema will be used for validation and encoding.  | 
| Field Detail | 
|---|
static final int ENC_SCHEMA_AWARE
static final int ENC_SAVE_VALIDATION_INFO
static final int ENC_IMPLICIT_SCHEMA_REG
static final int ENC_INLINE_TOKEN_DEFS
static final int ENC_MID_TIER_OPT
static final int ENC_XDB_COMPATIBLE
static final int ENC_SCHEMA_LOCATION_AWARE
static final int ENC_XDB_INLINE_TOKENS
| Method Detail | 
|---|
void setProperty(int propType,
                 boolean value)
                 throws BinXMLException
propType - a property constant ENC_* defined in the Encoder.value - true or falseBinXMLException
void setSchema(java.lang.String schemaURL)
               throws BinXMLException
schemaURL - schema to be used for encodingBinXMLException
ContentHandler getContentHandler()
                                 throws BinXMLException
BinXMLException - Raised for any errors encountered
ErrorHandler getErrorHandler()
                             throws BinXMLException
BinXMLException - Raised for any errors encountered
DTDHandler getDTDHandler()
                         throws BinXMLException
BinXMLException - Raised for any errors encountered
DeclHandler getDeclHandler()
                           throws BinXMLException
BinXMLException - Raised for any errors encountered
LexicalHandler getLexicalHandler()
                                 throws BinXMLException
BinXMLException - Raised for any errors encountered
  | 
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2003, 2014, Oracle and/or its affiliates. All rights reserved.