|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.openfoundation.util.XPPropertyBagXercesJ
Class that implements persistence of XPPropertyBag using XercesJ. Cannot use Singleton pattern because of in-use state and threading issues. XPPropertyBag instances instead should dispose of XPPropertyBagXercesJ immediately after use to avoid large memory use during a large portal crawl operation (issue #26142).
Nested Class Summary | |
static class |
XPPropertyBagXercesJ.LowASCIIFilterInputStream
Armors entity references to low ASCII characters by promoting them into the private use range, to be later corrected when PropertyBag String fields are set. |
Method Summary | |
byte[] |
SaveToBinary(IXPPropertyBag pbag,
int xmlFormat)
Saves the given Property bag Serializes a DOM document from a property bag. |
void |
SaveToFile(IXPPropertyBag pbag,
java.lang.String fileName)
Saves the given Property bag Serializes a DOM document from a property bag. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public byte[] SaveToBinary(IXPPropertyBag pbag, int xmlFormat)
pbag
- an instance of IXPPropertyBag.xmlFormat
- type of xmlFormat.
public void SaveToFile(IXPPropertyBag pbag, java.lang.String fileName)
pbag
- an instance of IXPPropertyBag.fileName
- to which byte array should be saved.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |