eXo Kernel :: Container 2.5.0-GA

org.exoplatform.xml.object
Class XMLCollection

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

public class XMLCollection
extends 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(Collection<?> list)
           
 
Method Summary
 Collection<Object> getCollection()
           
static Collection<Object> getCollection(InputStream is)
           
 Iterator<XMLValue> getIterator()
           
 String getType()
           
static XMLCollection getXMLCollection(InputStream is)
           
 void setType(String s)
           
 byte[] toByteArray(String encoding)
           
 String toXML(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(Collection<?> list)
              throws Exception
Throws:
Exception
Method Detail

getType

public String getType()

setType

public void setType(String s)

getCollection

public Collection<Object> getCollection()
                                 throws Exception
Throws:
Exception

getIterator

public Iterator<XMLValue> getIterator()

toXML

public String toXML(String encoding)
             throws Exception
Throws:
Exception

toByteArray

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

getXMLCollection

public static XMLCollection getXMLCollection(InputStream is)
                                      throws Exception
Throws:
Exception

getCollection

public static Collection<Object> getCollection(InputStream is)
                                        throws Exception
Throws:
Exception

eXo Kernel :: Container 2.5.0-GA

Copyright © 2014 eXo Platform SAS. All Rights Reserved.