org.exoplatform.services.xml.util
Class XMLProperties
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<java.lang.String,java.lang.String>
org.exoplatform.services.xml.util.XMLProperties
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.String>
public class XMLProperties
- extends java.util.HashMap<java.lang.String,java.lang.String>
Author : Nhu Dinh Thuan
Email:nhudinhthuan@yahoo.com
Nov 29, 2006
- See Also:
- Serialized Form
|
Constructor Summary |
XMLProperties(java.io.File file,
java.lang.String name,
boolean readonly)
|
XMLProperties(java.io.InputStream input,
java.lang.String name,
boolean readonly)
|
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
equals, hashCode |
document
protected XMLDocument document
node_
protected XMLNode node_
XMLProperties
public XMLProperties(java.io.InputStream input,
java.lang.String name,
boolean readonly)
throws java.lang.Exception
- Throws:
java.lang.Exception
XMLProperties
public XMLProperties(java.io.File file,
java.lang.String name,
boolean readonly)
throws java.lang.Exception
- Throws:
java.lang.Exception
toProperties
public void toProperties(XMLDocument xmlDocument,
java.lang.String name,
boolean readonly)
throws java.lang.Exception
- Throws:
java.lang.Exception
getBytes
public byte[] getBytes()
throws java.lang.Exception
- Throws:
java.lang.Exception
toOutputStream
public java.io.OutputStream toOutputStream()
throws java.lang.Exception
- Throws:
java.lang.Exception
getNode
protected XMLNode getNode(XMLNode root,
java.lang.String name)
Copyright © 2012 eXo Platform SAS. All Rights Reserved.