|
Content Assembler API 2.1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.endeca.content.ene.ENEContentManager
public class ENEContentManager
An implementation of the ContentManager
interface.
Constructor Summary | |
---|---|
ENEContentManager()
Constructs an ENEContentManager . |
Method Summary | |
---|---|
ContentQuery |
createQuery()
Creates an empty ENEContentQuery . |
void |
setDocumentBuilderFactory(javax.xml.parsers.DocumentBuilderFactory pDocumentBuilderFactory)
An optional setting to override the default DocumentBuilderFactory
used when parsing content. |
void |
setValidating(boolean pValidating)
Specifies whether XML validation should be enabled when parsing content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ENEContentManager() throws InitializationException
ENEContentManager
.
InitializationException
- if there is an instantiation errorMethod Detail |
---|
public ContentQuery createQuery() throws ContentException
ENEContentQuery
.
Note that this method will always return an ENEContentQuery
object.
createQuery
in interface ContentManager
ENEContentQuery
.
ContentException
- if there is a problem creating the query.public void setValidating(boolean pValidating) throws InitializationException
Enabling XML validation requires XML schema compilation features that were made available in Java 1.5.
It is important to note that this method will replace any prior
changes specified via the setDocumentBuilderFactory(DocumentBuilderFactory)
method with a default factory.
pValidating
- specifies whether XML validation should be enabled or not.
InitializationException
- if there is an issue enabling XML validation.public void setDocumentBuilderFactory(javax.xml.parsers.DocumentBuilderFactory pDocumentBuilderFactory) throws InitializationException
DocumentBuilderFactory
used when parsing content.
To work properly, factories specified via this method must be namespace aware.
pDocumentBuilderFactory
- the override DocumentBuilderFactory
.
InitializationException
- if there is an error overriding the default factory.
|
Content Assembler API 2.1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@VERSION PRODUCT: Content Assembler API (ContentAssemblerAPIJava) VERSION: 2.1.2 BUILD: 54DEV ARCH_OS: n/a DATE: 2012-02-16T20:28:44-0500