|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.search.routing.command.SearchXMLObject
atg.search.routing.command.SearchEngineRequestImpl
atg.search.routing.command.indexing.IndexingRequest
atg.search.routing.command.indexing.IndexingRequestFragment
atg.search.routing.command.indexing.OptionsBase
atg.search.routing.command.search.ParserOptions
public class ParserOptions
Text processing options for requests.
Optional: All
Required: None
Call the backdoor method setXml(String) if you already have well-formed xml and want to override settings; or
you can call the static valueOf(String).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class atg.search.routing.command.indexing.OptionsBase |
|---|
OptionsBase.ExpandedStemmingType, OptionsBase.ExpandedStemmingTypeEditor, OptionsBase.Index, OptionsBase.IndexScheme, OptionsBase.IndexSchemeEditor, OptionsBase.IndexTypeEditor, OptionsBase.SpellChecker, OptionsBase.SpellCheckerEditor, OptionsBase.SpellSplitWords |
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Constructor Summary | |
|---|---|
ParserOptions()
|
|
ParserOptions(java.lang.String pXml)
Constructor that creates and initializes the instance from specified XML. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object pObject)
compares this with another by an XML comparison. |
protected static ParserOptions |
fromXmlParser(atg.search.routing.utils.SearchMessageNode xml)
creates a new ParserOptions from the xml parser |
protected void |
getBodyXML(java.lang.StringBuilder cmd)
|
atg.search.routing.command.indexing.RequestTagType |
getRequestEnum()
|
java.lang.String |
getXml()
Getter for the xml. |
int |
hashCode()
|
void |
setXml(java.lang.String pXml)
Method for overriding everything in this class from well-formed xml. |
java.lang.String |
toString()
|
java.lang.String |
toXML()
|
static ParserOptions |
valueOf(java.lang.String pOptionsXml)
parses options xml and returns a populated ParserOptions |
| Methods inherited from class atg.search.routing.command.indexing.IndexingRequestFragment |
|---|
getIndexingType |
| Methods inherited from class atg.search.routing.command.indexing.IndexingRequest |
|---|
getAllAttributeXML, getContentBytes, getIndexingLayer, getItemDescription, getLongHash, getRequestCode, getRequestTag, getSizeInBytes, getStringForHash, getSubscriptionKey, getTimeoutMs, isSynchronous, setContentBytes, setItemDescription, setStringForHash, setSubscriptionKey, setSynchronous, setTimeoutMs |
| Methods inherited from class atg.search.routing.command.SearchEngineRequestImpl |
|---|
encodeMapData, getRequestAttribute, getRequestAttributes, isFiringSearchEvents, isKeepingResponseData, isLoggingThisRequest, processResponse, setFiringSearchEvents, setKeepingResponseData, setLoggingThisRequest, setRequestAttribute, setRequestAttributes |
| Methods inherited from class atg.search.routing.command.SearchXMLObject |
|---|
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllBodyXML, getAttributeXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, toXML |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail |
|---|
public ParserOptions()
public ParserOptions(java.lang.String pXml)
pXml - the parser options XML or null| Method Detail |
|---|
public atg.search.routing.command.indexing.RequestTagType getRequestEnum()
getRequestEnum in class atg.search.routing.command.indexing.IndexingRequestpublic void setXml(java.lang.String pXml)
fromXmlParser(atg.search.routing.utils.SearchMessageNode).
pXml - parser option xml
public java.lang.String getXml()
throws atg.search.routing.command.IncompleteCommandException
atg.search.routing.command.IncompleteCommandException
public java.lang.String toXML()
throws atg.search.routing.command.IncompleteCommandException
toXML in interface atg.search.routing.command.SearchEngineRequesttoXML in class atg.search.routing.command.SearchXMLObjectatg.search.routing.command.IncompleteCommandException
protected void getBodyXML(java.lang.StringBuilder cmd)
throws atg.search.routing.command.IncompleteCommandException
getBodyXML in class atg.search.routing.command.SearchXMLObjectatg.search.routing.command.IncompleteCommandExceptionprotected static ParserOptions fromXmlParser(atg.search.routing.utils.SearchMessageNode xml)
xml - an xml parser
public static ParserOptions valueOf(java.lang.String pOptionsXml)
pOptionsXml - well-formed and decoded options xml
public java.lang.String toString()
toString in class atg.search.routing.command.indexing.IndexingRequestpublic boolean equals(java.lang.Object pObject)
equals in class java.lang.ObjectpObject - another ParserOptions
public int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||