|
EXIficient | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.siemens.ct.exi.helpers.DefaultEXIFactory
public class DefaultEXIFactory
This is the default implementation of an EXIFactory class.
EXIFactory| Method Summary | |
|---|---|
DecoderBlock |
createDecoderBlock(java.io.InputStream inputStream)
Returns an EXI DecoderBlock according coding options like
CodingMode etc. |
EncoderBlock |
createEncoderBlock(java.io.OutputStream outputStream)
Returns an EXI EncoderBlock according coding options like
CodingMode etc. |
EXIDecoder |
createEXIDecoder()
Returns an EXIDecoder |
EXIEncoder |
createEXIEncoder()
Returns an EXIEncoder |
org.xml.sax.XMLReader |
createEXIReader()
Returns an EXIReader |
EXIWriter |
createEXIWriter()
Returns an EXIWriter |
TypeDecoder |
createTypeDecoder()
Returns an EXI TypeDecoder according coding options such as
schema-informed or schema-less grammar and options like
Preserve.LexicalValues |
TypeEncoder |
createTypeEncoder()
Returns an EXI TypeEncoder according coding options such as
schema-informed or schema-less grammar and options like
Preserve.LexicalValues |
CodingMode |
getCodingMode()
Returns the currently used CodingMode. |
FidelityOptions |
getFidelityOptions()
Returns the fidelity options used by the EXI factory (e.g. preserving XML comments or DTDs). |
Grammar |
getGrammar()
Returns the currently used EXI Grammar. |
boolean |
isEXIBodyOnly()
|
boolean |
isFragment()
Returns whether we deal with a fragment |
static EXIFactory |
newInstance()
|
void |
setCodingMode(CodingMode codingMode)
Re-sets the coding mode used by the factory. |
void |
setDatatypeRepresentationMap(DatatypeRepresentation[] datatypeRepresentations)
By default, each typed value in an EXI stream is represented by the associated built-in EXI datatype representation. |
void |
setEXIBodyOnly(boolean exiBodyOnly)
Sets whether an EXI Body is preceded by an EXI Header. |
void |
setFidelityOptions(FidelityOptions fidelityOptions)
Sets the fidelity options used by the EXI factory (e.g. preserving XML comments or DTDs). |
void |
setFragment(boolean isFragment)
Informs the factory that we are dealing with an XML fragment instead of an XML document |
void |
setGrammar(Grammar grammar)
Sets the EXI Grammar used for coding. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static EXIFactory newInstance()
public void setFidelityOptions(FidelityOptions fidelityOptions)
EXIFactory
setFidelityOptions in interface EXIFactoryfidelityOptions - new fidelity optionsFidelityOptionspublic FidelityOptions getFidelityOptions()
EXIFactory
getFidelityOptions in interface EXIFactoryFidelityOptionspublic void setDatatypeRepresentationMap(DatatypeRepresentation[] datatypeRepresentations)
EXIFactory
setDatatypeRepresentationMap in interface EXIFactorypublic void setGrammar(Grammar grammar)
EXIFactoryGrammar used for coding.
setGrammar in interface EXIFactorypublic Grammar getGrammar()
EXIFactoryGrammar. By default a
SchemaLessGrammar is used.
getGrammar in interface EXIFactorypublic void setFragment(boolean isFragment)
EXIFactory
setFragment in interface EXIFactorypublic boolean isFragment()
EXIFactory
isFragment in interface EXIFactorypublic void setCodingMode(CodingMode codingMode)
EXIFactory
setCodingMode in interface EXIFactorypublic CodingMode getCodingMode()
EXIFactoryCodingMode. By default BIT_PACKED
is used.
getCodingMode in interface EXIFactorypublic void setEXIBodyOnly(boolean exiBodyOnly)
EXIFactory
setEXIBodyOnly in interface EXIFactorypublic boolean isEXIBodyOnly()
isEXIBodyOnly in interface EXIFactorypublic EXIEncoder createEXIEncoder()
EXIFactoryEXIEncoder
createEXIEncoder in interface EXIFactorypublic EXIWriter createEXIWriter()
EXIFactoryEXIWriter
createEXIWriter in interface EXIFactorypublic EXIDecoder createEXIDecoder()
EXIFactoryEXIDecoder
createEXIDecoder in interface EXIFactorypublic org.xml.sax.XMLReader createEXIReader()
EXIFactoryEXIReader
createEXIReader in interface EXIFactorypublic TypeEncoder createTypeEncoder()
EXIFactoryTypeEncoder according coding options such as
schema-informed or schema-less grammar and options like
Preserve.LexicalValues
createTypeEncoder in interface EXIFactoryTypeEncoderpublic TypeDecoder createTypeDecoder()
EXIFactoryTypeDecoder according coding options such as
schema-informed or schema-less grammar and options like
Preserve.LexicalValues
createTypeDecoder in interface EXIFactoryTypeDecoderpublic EncoderBlock createEncoderBlock(java.io.OutputStream outputStream)
EXIFactoryEncoderBlock according coding options like
CodingMode etc.
createEncoderBlock in interface EXIFactoryEncoderBlock
public DecoderBlock createDecoderBlock(java.io.InputStream inputStream)
throws java.io.IOException
EXIFactoryDecoderBlock according coding options like
CodingMode etc.
createDecoderBlock in interface EXIFactoryjava.io.IOExceptionDecoderBlock
|
EXIficient | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||