public class LiteralDocumentParser extends Object implements XmlParserInterface
Modifier and Type | Field and Description |
---|---|
protected LibrarySession |
m_Session
The LibrarySession which constructed this XmlParser
|
Constructor and Description |
---|
LiteralDocumentParser(LibrarySession session)
Constructs a LiteralDocumentParser
|
Modifier and Type | Method and Description |
---|---|
Document |
createDocument(Folder parent,
InputStream in,
Reader reader,
String name,
AccessControlList acl,
boolean takeAclFromParent) |
protected DocumentDefinition |
getDocDef(Folder parent,
InputStream in,
Reader reader,
String name,
AccessControlList acl,
boolean takeAclFromParent) |
LibraryObject |
parse(IfsXmlParser ifsxmlparser,
InputStream stream,
ParserCallback callback,
Hashtable options)
Parses the specified InputStream representing an XML document.
|
LibraryObject |
parse(IfsXmlParser ifsxmlparser,
Reader reader,
ParserCallback callback,
Hashtable options)
Parses the specified Reader representing an XML document.
|
static LibraryObjectDefinition |
setAcl(LibraryObjectDefinition def,
AccessControlList acl,
Folder parent,
boolean takeAclFromParent) |
Document |
updateFolderedPublicObjectWithVersioning(Folder parent,
InputStream in,
Reader reader,
String name,
AccessControlList acl,
boolean takeAclFromParent) |
protected LibrarySession m_Session
public LiteralDocumentParser(LibrarySession session)
session
- the LibrarySessionpublic LibraryObject parse(IfsXmlParser ifsxmlparser, InputStream stream, ParserCallback callback, Hashtable options) throws IfsException
XmlParserInterface
parse
in interface XmlParserInterface
ifsxmlparser
- this object is the entry point parser and can be
used by the content-specific parsers to construct
the DOM object, using the Oracle DOM parserstream
- the InputStreamcallback
- an application object that interacts with the
the parsing process; optional, can be nulloptions
- any parser-specific optionsIfsException
- (IFS-12601) if the operation failspublic LibraryObject parse(IfsXmlParser ifsxmlparser, Reader reader, ParserCallback callback, Hashtable options) throws IfsException
XmlParserInterface
parse
in interface XmlParserInterface
ifsxmlparser
- this object is the entry point parser and is used
by the content-specific parsers to construct the
DOM object, using the Oracle DOM parserreader
- the Readercallback
- an application object that interacts with the
the parsing process; optional, can be nulloptions
- any parser-specific optionsIfsException
- (IFS-12602) if the operation failspublic Document updateFolderedPublicObjectWithVersioning(Folder parent, InputStream in, Reader reader, String name, AccessControlList acl, boolean takeAclFromParent) throws IfsException, IOException
IfsException
IOException
public Document createDocument(Folder parent, InputStream in, Reader reader, String name, AccessControlList acl, boolean takeAclFromParent) throws IfsException, IOException
IfsException
IOException
protected DocumentDefinition getDocDef(Folder parent, InputStream in, Reader reader, String name, AccessControlList acl, boolean takeAclFromParent) throws IfsException
IfsException
public static LibraryObjectDefinition setAcl(LibraryObjectDefinition def, AccessControlList acl, Folder parent, boolean takeAclFromParent) throws IfsException
IfsException
Copyright © 2023. All rights reserved.