|
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.assembler.ContentContext
public class ContentContext
Describes the context within which some content assembler operation is occurring.
ContentAssembler.assemble(ContentContext, ContentResource),
ContentAssembler.evaluate(ContentContext, org.w3c.dom.Element),
TagHandler.evaluate(ContentContext, org.w3c.dom.Element)| Constructor Summary | |
|---|---|
ContentContext(ContentAssembler pContentAssembler,
ContentResourceLocator pContentResourceLocator)
Constructs a ContentContext with the given assembler and
resource locator. |
|
| Method Summary | |
|---|---|
ContentAssembler |
getContentAssembler()
Returns the content assembler being used. |
java.util.Stack |
getContentItemStack()
Returns the stack of ContentItems
which are currently being created. |
ContentResourceLocator |
getContentResourceLocator()
Returns the resource locator being used. |
java.util.Map |
getContentResources()
Returns a map from the identifiers of the ContentResources
which are currently being assembled to the partially-assembled
resources themselves. |
java.util.Stack |
getContentResourceStack()
Returns the stack of the ContentResources
which are currently being assembled. |
java.lang.String |
getLocalPropertyName()
Returns the name of the nearest ancestor property |
void |
setLocalPropertyName(java.lang.String pLocalPropertyName)
Sets the name of the nearest ancestor property |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentContext(ContentAssembler pContentAssembler,
ContentResourceLocator pContentResourceLocator)
throws ContentException
ContentContext with the given assembler and
resource locator.
pContentAssembler - The content assembler being usedpContentResourceLocator - The resource locator being used
ContentException - If an unrecoverable error occurs while
attempting to construct this context.| Method Detail |
|---|
public ContentAssembler getContentAssembler()
public ContentResourceLocator getContentResourceLocator()
public java.lang.String getLocalPropertyName()
public void setLocalPropertyName(java.lang.String pLocalPropertyName)
pLocalPropertyName - The name of the nearest ancestor propertypublic java.util.Map getContentResources()
ContentResources
which are currently being assembled to the partially-assembled
resources themselves.
ContentResource.getIdentifier()public java.util.Stack getContentResourceStack()
ContentResources
which are currently being assembled. The resource upon which
assembly has most recently begun will be at the top of the stack.
public java.util.Stack getContentItemStack()
ContentItems
which are currently being created. The content item upon which
assembly has most recently begun will be at the top of the stack.
|
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