Content Assembler API 2.1.2

com.endeca.content.ene
Class ENEContentManager

java.lang.Object
  extended by com.endeca.content.ene.ENEContentManager
All Implemented Interfaces:
ContentManager

public class ENEContentManager
extends java.lang.Object
implements ContentManager

An implementation of the ContentManager interface.

Since:
1.0.0
Version:
2.1.0

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

ENEContentManager

public ENEContentManager()
                  throws InitializationException
Constructs an ENEContentManager.

Throws:
InitializationException - if there is an instantiation error
Method Detail

createQuery

public ContentQuery createQuery()
                         throws ContentException
Creates an empty ENEContentQuery.

Note that this method will always return an ENEContentQuery object.

Specified by:
createQuery in interface ContentManager
Returns:
an empty ENEContentQuery.
Throws:
ContentException - if there is a problem creating the query.

setValidating

public void setValidating(boolean pValidating)
                   throws InitializationException
Specifies whether XML validation should be enabled when parsing content.

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.

Parameters:
pValidating - specifies whether XML validation should be enabled or not.
Throws:
InitializationException - if there is an issue enabling XML validation.

setDocumentBuilderFactory

public void setDocumentBuilderFactory(javax.xml.parsers.DocumentBuilderFactory pDocumentBuilderFactory)
                               throws InitializationException
An optional setting to override the default DocumentBuilderFactory used when parsing content.

To work properly, factories specified via this method must be namespace aware.

Parameters:
pDocumentBuilderFactory - the override DocumentBuilderFactory.
Throws:
InitializationException - if there is an error overriding the default factory.

Content Assembler API 2.1.2

Copyright © 2012 Endeca Technologies, Inc. All Rights Reserved.
@VERSION
PRODUCT: Content Assembler API (ContentAssemblerAPIJava)
VERSION: 2.1.2
BUILD:   54DEV
ARCH_OS: n/a
DATE:    2012-02-16T20:28:44-0500