Package com.microstrategy.web.platform
Class DefaultHiddenInputBuilderImpl
- java.lang.Object
-
- com.microstrategy.web.platform.AbstractParameterBuilder
-
- com.microstrategy.web.platform.AbstractConfigurableParameterBuilder
-
- com.microstrategy.web.platform.DefaultHiddenInputBuilderImpl
-
- All Implemented Interfaces:
ParameterBuilder
public class DefaultHiddenInputBuilderImpl extends AbstractConfigurableParameterBuilder
The default Hidden Input Builder for the Web Universal application.- Since:
- MicroStrategy Web 8.0.0
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.platform.AbstractParameterBuilder
_initialSize, _namespaceEncoder, _parameters, _targetBase, _targetPrefix, _targetSuffix
-
-
Constructor Summary
Constructors Constructor Description DefaultHiddenInputBuilderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFragment(java.lang.String fragment)
Adds a fragment of key/value pairs.boolean
isEmpty()
This method returnstrue
if no parameters were added.java.lang.String
toString()
Get the entire collection of parameters as a string.-
Methods inherited from class com.microstrategy.web.platform.AbstractConfigurableParameterBuilder
init
-
Methods inherited from class com.microstrategy.web.platform.AbstractParameterBuilder
addEventInfo, addParameter, addParameterUnique, areAllBitsSet, getNamespaceEncoder, getParameters, getTargetBase, getTargetPrefix, getTargetSuffix, isAnyBitSet, parseEntireURLStringFragment, parseURLParameterFragment, setInitialSize, setNamespaceEncoder, setTargetBase, setTargetPrefix, setTargetSuffix
-
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
This method returnstrue
if no parameters were added. It is not related to whether a target prefix/suffix was added. It is identical to asking whether the returned string (if requested now) would return empty or not.- Returns:
- Whether the ParameterBuilder object is essentially empty or not.
-
toString
public java.lang.String toString()
Get the entire collection of parameters as a string.- Specified by:
toString
in interfaceParameterBuilder
- Overrides:
toString
in classjava.lang.Object
- Returns:
- A string representation of the set of key/value pairs.
-
addFragment
public void addFragment(java.lang.String fragment)
Adds a fragment of key/value pairs. The current implementation simply throws an IllegalStateException.- Parameters:
fragment
- A string fragment which must be parsed for a sequence of key/value pairs.
-
-