|
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 | |
|---|---|
EXIFactory |
clone()
Returns a shallow copy of this EXI factory. |
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 |
boolean |
isSelfContainedElement(javax.xml.namespace.QName element)
Returns boolean value telling whether a certain element is encoded as selfContained 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. |
void |
setSelfContainedElements(javax.xml.namespace.QName[] scElements)
Self-contained elements may be read independently from the rest of the EXI body, allowing them to be indexed for random access. |
| 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 setSelfContainedElements(javax.xml.namespace.QName[] scElements)
EXIFactory
setSelfContainedElements in interface EXIFactorypublic boolean isSelfContainedElement(javax.xml.namespace.QName element)
EXIFactory
isSelfContainedElement 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 EXIFactory clone()
EXIFactory
clone in interface EXIFactoryclone in class java.lang.Object
|
EXIficient | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||