org.apache.chemistry.opencmis.server.impl.atompub
Class AtomEntryParser

java.lang.Object
  extended by org.apache.chemistry.opencmis.server.impl.atompub.AtomEntryParser

public class AtomEntryParser
extends Object

Parser for Atom Entries.


Field Summary
protected  boolean ignoreAtomContentSrc
           
 
Constructor Summary
AtomEntryParser(File tempDir, int memoryThreshold)
          Constructor.
AtomEntryParser(InputStream stream, File tempDir, int memoryThreshold)
          Constructor that immediately parses the given stream.
 
Method Summary
 org.apache.chemistry.opencmis.commons.data.Acl getAcl()
          Returns the ACL of the object.
 org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream()
          Returns the content stream.
 String getId()
          Returns the Id of the object.
 org.apache.chemistry.opencmis.commons.data.ObjectData getObject()
          Returns the object.
 List<String> getPolicyIds()
          Returns the policy id list of the object.
 org.apache.chemistry.opencmis.commons.data.Properties getProperties()
          Returns the properties of the object.
 void parse(InputStream stream)
          Parses the stream.
 void setIgnoreAtomContentSrc(boolean ignoreAtomContentSrc)
          Sets the flag controlling whether atom content src (external content) is ignored.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ignoreAtomContentSrc

protected boolean ignoreAtomContentSrc
Constructor Detail

AtomEntryParser

public AtomEntryParser(File tempDir,
                       int memoryThreshold)
Constructor.


AtomEntryParser

public AtomEntryParser(InputStream stream,
                       File tempDir,
                       int memoryThreshold)
                throws Exception
Constructor that immediately parses the given stream.

Throws:
Exception
Method Detail

setIgnoreAtomContentSrc

public void setIgnoreAtomContentSrc(boolean ignoreAtomContentSrc)
Sets the flag controlling whether atom content src (external content) is ignored. This flag is false by default (not ignored).


getObject

public org.apache.chemistry.opencmis.commons.data.ObjectData getObject()
Returns the object.


getProperties

public org.apache.chemistry.opencmis.commons.data.Properties getProperties()
Returns the properties of the object.


getId

public String getId()
Returns the Id of the object.


getAcl

public org.apache.chemistry.opencmis.commons.data.Acl getAcl()
Returns the ACL of the object.


getPolicyIds

public List<String> getPolicyIds()
Returns the policy id list of the object.


getContentStream

public org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream()
Returns the content stream.


parse

public void parse(InputStream stream)
           throws Exception
Parses the stream.

Throws:
Exception


Copyright © 2014 Mairie de Paris. All Rights Reserved.