fr.improve.xdi
Class DefaultXMLEncoder
java.lang.Object
fr.improve.xdi.DefaultXMLEncoder
- All Implemented Interfaces:
- java.io.Serializable, XMLEncoder
- Direct Known Subclasses:
- XMLEncoderImpl, XMLEncoderImpl
- public abstract class DefaultXMLEncoder
- extends java.lang.Object
- implements XMLEncoder
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_dFactory
protected static javax.xml.parsers.DocumentBuilderFactory _dFactory
_dBuilder
protected static javax.xml.parsers.DocumentBuilder _dBuilder
_document
protected org.w3c.dom.Document _document
binaryHandler
protected BinaryHandler binaryHandler
useCache
protected boolean useCache
DefaultXMLEncoder
public DefaultXMLEncoder()
setDateFormat
public void setDateFormat(java.lang.String in_pattern)
- Specified by:
setDateFormat in interface XMLEncoder
setBinaryHandler
public void setBinaryHandler(BinaryHandler in_binaryHandler)
- Specified by:
setBinaryHandler in interface XMLEncoder
binaryHandler
public BinaryHandler binaryHandler()
- Specified by:
binaryHandler in interface XMLEncoder
setConverter
public void setConverter(Converter in_converter)
- Specified by:
setConverter in interface XMLEncoder
getConverter
public Converter getConverter()
- Specified by:
getConverter in interface XMLEncoder
setEncodingConfig
public void setEncodingConfig(org.xml.sax.InputSource in_source)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
- Specified by:
setEncodingConfig in interface XMLEncoder
- Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
setEncodingConfig
public void setEncodingConfig(XMLEncodingConfig in_config)
getEncodingConfig
public XMLEncodingConfig getEncodingConfig()
- Specified by:
getEncodingConfig in interface XMLEncoder
setFollowingRelationships
public void setFollowingRelationships(boolean in_flag)
- Specified by:
setFollowingRelationships in interface XMLEncoder
isFollowingRelationships
public boolean isFollowingRelationships()
- Specified by:
isFollowingRelationships in interface XMLEncoder
getDocument
public org.w3c.dom.Document getDocument()
- Specified by:
getDocument in interface XMLEncoder
serializeToFile
public void serializeToFile(java.lang.String in_filePath)
- Specified by:
serializeToFile in interface XMLEncoder
serialize
public java.lang.String serialize()
throws java.io.IOException
- Specified by:
serialize in interface XMLEncoder
- Throws:
java.io.IOException
serialize
public java.lang.String serialize(java.lang.String in_encoding)
throws java.io.IOException
- Specified by:
serialize in interface XMLEncoder
- Throws:
java.io.IOException
encodeObjects
public void encodeObjects(java.util.Collection in_records)
encodeObjects
public void encodeObjects(java.util.Collection in_records,
java.lang.String in_rootName)
encodeObject
public void encodeObject(EnterpriseObject in_record)
encodeObjectForKey
public void encodeObjectForKey(java.lang.Object in_obj,
java.lang.String in_key,
org.w3c.dom.Element in_parent)
escapeString
protected java.lang.String escapeString(java.lang.String s)
encodeStringInTag
protected void encodeStringInTag(java.lang.String in_obj,
java.lang.String in_key,
org.w3c.dom.Element in_parent)
getContentType
public java.lang.String getContentType(org.w3c.dom.Element in_element)
- Specified by:
getContentType in interface XMLEncoder
Copyright © 2004-2005 Improve. All Rights Reserved.