org.exoplatform.xml.object
Class XMLCollection

java.lang.Object
  extended by org.exoplatform.xml.object.XMLCollection

public class XMLCollection
extends java.lang.Object

Since:
Apr 11, 2005
Version:
$Id: XMLCollection.java 5799 2006-05-28 17:55:42Z geaz $
Author:
Tuan Nguyen (tuan08@users.sourceforge.net)

Constructor Summary
XMLCollection()
           
XMLCollection(java.util.Collection list)
           
 
Method Summary
 java.util.Collection getCollection()
           
static java.util.Collection getCollection(java.io.InputStream is)
           
 java.util.Iterator getIterator()
           
 java.lang.String getType()
           
static XMLCollection getXMLCollection(java.io.InputStream is)
           
 void setType(java.lang.String s)
           
 byte[] toByteArray(java.lang.String encoding)
           
 java.lang.String toXML(java.lang.String encoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLCollection

public XMLCollection()

XMLCollection

public XMLCollection(java.util.Collection list)
              throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getType

public java.lang.String getType()

setType

public void setType(java.lang.String s)

getCollection

public java.util.Collection getCollection()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getIterator

public java.util.Iterator getIterator()

toXML

public java.lang.String toXML(java.lang.String encoding)
                       throws java.lang.Exception
Throws:
java.lang.Exception

toByteArray

public byte[] toByteArray(java.lang.String encoding)
                   throws java.lang.Exception
Throws:
java.lang.Exception

getXMLCollection

public static XMLCollection getXMLCollection(java.io.InputStream is)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

getCollection

public static java.util.Collection getCollection(java.io.InputStream is)
                                          throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2010 eXo Platform SAS. All Rights Reserved.