|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.repository.search.indexing.ItemAndSpecifierStack
public class ItemAndSpecifierStack
A class that manages a stack of item and specifiers. Extended by Context.
Created: March 28 2005
Context
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
ItemAndSpecifierStack()
|
Method Summary | |
---|---|
int |
getAncestorCount()
Return the number of parents/ancestors. |
RepositoryItem |
getNthAncestor(int pIndex)
Return the Nth ancestor. |
ItemAndSpecifier |
getNthAncestorItemAndSpecifier(int pIndex)
Return the Nth ancestor ItemAndSpecifier. |
RepositoryItem |
getParent()
A convenience method to getting your parent accessor. |
boolean |
isInDocument()
Whether we are in a document. |
ItemAndSpecifier |
popParent()
Pop off a parent. |
void |
pushParent(ItemAndSpecifier pItemAndSpec)
Push a parent item. |
void |
pushParent(RepositoryItem pItem,
OutputItemSpecifier pItemSpec)
Push a parent item. |
java.lang.String |
toString()
Add a debugging toString method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
Constructor Detail |
---|
public ItemAndSpecifierStack()
Method Detail |
---|
public int getAncestorCount()
public boolean isInDocument()
public RepositoryItem getNthAncestor(int pIndex)
public ItemAndSpecifier getNthAncestorItemAndSpecifier(int pIndex)
public RepositoryItem getParent()
public void pushParent(RepositoryItem pItem, OutputItemSpecifier pItemSpec)
public void pushParent(ItemAndSpecifier pItemAndSpec)
public ItemAndSpecifier popParent()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |