A B C D E F G H I J M N O P R S T U V W Z _ 
All Classes All Packages

A

accept(ComponentMatchCtx, String...) - Method in interface org.zkoss.zats.common.select.impl.PseudoClassDef
Return true if the component qualifies this pseudo class.
addAttribute(String) - Method in class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
addClass(String) - Method in class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
addMinorRoute(IN, E) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add a transition for a character.
addMinorRoute(IN, E, StateCtx.TransitionListener<IN, C>) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add a transition for a character with callback.
addMinorRoutes(E, IN...) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add multiple transitions for characters.
addMinorRoutes(E, StateCtx.TransitionListener<IN, C>, IN...) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add multiple transitions for characters with a callback.
addMinorTransition(IN, E) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add a transition for a character.
addMinorTransition(IN, E, StateCtx.TransitionListener<IN, C>) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add a transition for a character with a callback
addMinorTransitions(E, IN...) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add multiple transitions for characters
addMinorTransitions(E, StateCtx.TransitionListener<IN, C>, IN...) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add multiple transitions for characters with a callback
addParameter(String) - Method in class org.zkoss.zats.common.select.impl.PseudoClass
 
addPseudoClass(String) - Method in class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
addReturningClasses(C...) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add an input class for returning to this state
addReturningClasses(Collection<C>) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add multiple input classes for returning to this state
addReturningInputs(IN...) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add input characters for returning to this state
addReturningInputs(Collection<IN>) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add input characters for returning to this state
addRoute(C, E) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add a transition.
addRoute(C, E, StateCtx.TransitionListener<IN, C>) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add a transition with callback.
addRoutes(E, C...) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add multiple transitions.
addRoutes(E, StateCtx.TransitionListener<IN, C>, C...) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add multiple transitions with a callback.
addToCollectionField(Object, Field, Object) - Static method in class org.zkoss.zats.common.select.impl.Reflections
Add the item to a collection field of an object.
addTransition(C, E) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add a transition rule
addTransition(C, E, StateCtx.TransitionListener<IN, C>) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add a transition rule with a callback
addTransitions(E, C...) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add multiple transitions
addTransitions(E, StateCtx.TransitionListener<IN, C>, C...) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Add multiple transitions with a callback
ADJACENT_SIBLING - org.zkoss.zats.common.select.impl.Selector.Combinator
 
afterStep(IN, C, E, E) - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
This method is called after executing a step
attachAttributeOperator(Attribute.Operator) - Method in class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
attachAttributeQuote(boolean) - Method in class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
attachAttributeValue(String) - Method in class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
attachAttributeValue(String, boolean) - Method in class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
attachCombinator(Selector.Combinator) - Method in class org.zkoss.zats.common.select.impl.Selector
Add combinator to the last simple selector sequence
attachPseudoClassParameter(String) - Method in class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
Attribute - Class in org.zkoss.zats.common.select.impl
The model representing an attribute in Selector.
Attribute(String) - Constructor for class org.zkoss.zats.common.select.impl.Attribute
 
Attribute.Operator - Enum in org.zkoss.zats.common.select.impl
 

B

BasicPseudoClassDefs - Class in org.zkoss.zats.common.select.impl
The default set of pseudo classes in Selector.
BasicPseudoClassDefs() - Constructor for class org.zkoss.zats.common.select.impl.BasicPseudoClassDefs
 
beforeStep(IN, C, E) - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
This method is called before executing a step
BEGIN_WITH - org.zkoss.zats.common.select.impl.Attribute.Operator
 

C

cast() - Method in class org.zkoss.zats.common.json.JSONObject
Allow simply casting to Map
CBN_ADJACENT_SIBLING - org.zkoss.zats.common.select.impl.Token.Type
 
CBN_CHILD - org.zkoss.zats.common.select.impl.Token.Type
 
CBN_GENERAL_SIBLING - org.zkoss.zats.common.select.impl.Token.Type
 
CharSequenceIterator - Class in org.zkoss.zats.common.select.impl
A char Iterator implementation for Selector tokenizer.
CharSequenceIterator(CharSequence) - Constructor for class org.zkoss.zats.common.select.impl.CharSequenceIterator
 
CharSequenceIterator(CharSequence, int) - Constructor for class org.zkoss.zats.common.select.impl.CharSequenceIterator
 
CharSequenceIterator(CharSequence, int, int) - Constructor for class org.zkoss.zats.common.select.impl.CharSequenceIterator
 
CHILD - org.zkoss.zats.common.select.impl.Selector.Combinator
 
clearPseudoClassDefs() - Method in class org.zkoss.zats.common.select.impl.ComponentIterator
Clear all custom pseudo class definitions.
close() - Method in class org.zkoss.zats.common.util.MultiPartOutputStream
End the current part.
CLOSE_BRACKET - org.zkoss.zats.common.select.impl.Token.Type
 
CLOSE_PAREN - org.zkoss.zats.common.select.impl.Token.Type
 
ComponentIterator - Class in org.zkoss.zats.common.select.impl
An implementation of Iterator<Component> that realizes the selector matching algorithm.
ComponentIterator(Component, String) - Constructor for class org.zkoss.zats.common.select.impl.ComponentIterator
Create an iterator which selects from all the descendants of a given component, including itself.
ComponentIterator(Page, String) - Constructor for class org.zkoss.zats.common.select.impl.ComponentIterator
Create an iterator which selects from all the components in the page.
ComponentLocalProperties - Class in org.zkoss.zats.common.select.impl
A collection of utilities that check local properties of Components.
ComponentLocalProperties() - Constructor for class org.zkoss.zats.common.select.impl.ComponentLocalProperties
 
ComponentMatchCtx - Class in org.zkoss.zats.common.select.impl
A wrapper of Component, providing a context for selector matching algorithm.
CONTAIN - org.zkoss.zats.common.select.impl.Attribute.Operator
 
ContainerFactory - Class in org.zkoss.zats.common.json.parser
Container factory for creating containers for JSON object and JSON array.
ContainerFactory() - Constructor for class org.zkoss.zats.common.json.parser.ContainerFactory
 
ContentHandler - Interface in org.zkoss.zats.common.json.parser
A simplified and stoppable SAX-like content handler for stream processing of JSON text.
creatArrayContainer() - Method in class org.zkoss.zats.common.json.parser.ContainerFactory
 
createObjectContainer() - Method in class org.zkoss.zats.common.json.parser.ContainerFactory
 

D

DESCENDANT - org.zkoss.zats.common.select.impl.Selector.Combinator
 
doDebug(String) - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
Manually send a debug message
doReject(IN) - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
Reject a character
DOUBLE_QUOTE - org.zkoss.zats.common.select.impl.Token.Type
 

E

END_WITH - org.zkoss.zats.common.select.impl.Attribute.Operator
 
endArray() - Method in interface org.zkoss.zats.common.json.parser.ContentHandler
Receive notification of the end of a JSON array.
endJSON() - Method in interface org.zkoss.zats.common.json.parser.ContentHandler
Receive notification of the end of JSON processing.
endObject() - Method in interface org.zkoss.zats.common.json.parser.ContentHandler
Receive notification of the end of a JSON object.
endObjectEntry() - Method in interface org.zkoss.zats.common.json.parser.ContentHandler
Receive notification of the end of the value of previous object entry.
EOI - Static variable in class org.zkoss.zats.common.json.parser.JSONParserStream
 
EQUAL - org.zkoss.zats.common.select.impl.Attribute.Operator
 
ERROR_UNEXPECTED_CHAR - Static variable in exception org.zkoss.zats.common.json.parser.ParseException
 
ERROR_UNEXPECTED_EOF - Static variable in exception org.zkoss.zats.common.json.parser.ParseException
 
ERROR_UNEXPECTED_TOKEN - Static variable in exception org.zkoss.zats.common.json.parser.ParseException
 
ERROR_UNEXPECTED_UNICODE - Static variable in exception org.zkoss.zats.common.json.parser.ParseException
 
escape(String) - Static method in class org.zkoss.zats.common.json.JSONObject
Escape quotes, \, /, \r, \n, \b, \f, \t and other control characters (U+0000 through U+001F).
escape(String) - Static method in class org.zkoss.zats.common.json.JSONValue
Escape quotes, \, /, \r, \n, \b, \f, \t and other control characters (U+0000 through U+001F).
escape(String, Appendable) - Static method in class org.zkoss.zats.common.json.JSONValue
 

F

FACTORY - Static variable in class org.zkoss.zats.common.json.parser.ContainerFactory
 
find(Component, String) - Static method in class org.zkoss.zats.common.select.Selectors
Returns a list of Components that match the selector.
find(Page, String) - Static method in class org.zkoss.zats.common.select.Selectors
Returns a list of Components that match the selector.
forFields(Class<?>, Class<A>, Reflections.FieldRunner<A>) - Static method in class org.zkoss.zats.common.select.impl.Reflections
Traverse through all fields with a certain annotation in a class and it super classes.
forMethods(Class<?>, Class<A>, Reflections.MethodRunner<A>) - Static method in class org.zkoss.zats.common.select.impl.Reflections
Traverse through all methods with a certain annotation in a class, including ones inherited from its super class.

G

GENERAL_SIBLING - org.zkoss.zats.common.select.impl.Selector.Combinator
 
getAttributes() - Method in class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
getBeginIndex() - Method in class org.zkoss.zats.common.select.impl.Token
 
getBoundary() - Method in class org.zkoss.zats.common.util.MultiPartOutputStream
 
getClass(IN) - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
Determines the class for an input character.
getClass(Type) - Static method in class org.zkoss.zats.common.select.impl.Reflections
Return the Class representing the given Type.
getClasses() - Method in class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
getCombinator() - Method in class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
getCombinator(int) - Method in class org.zkoss.zats.common.select.impl.Selector
Return the i-th combinator
getComponent() - Method in class org.zkoss.zats.common.select.impl.ComponentMatchCtx
Return the component.
getComponentChildIndex() - Method in class org.zkoss.zats.common.select.impl.ComponentMatchCtx
Return the child index of the component.
getComponentSiblingSize() - Method in class org.zkoss.zats.common.select.impl.ComponentMatchCtx
Return the count of total siblings of the component, including itself.
getCurrentState() - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
Return the current state
getDefinition(String) - Static method in class org.zkoss.zats.common.select.impl.BasicPseudoClassDefs
Returns the pseudo class definition associated with the given name
getDestination(IN, C) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Returns the destination state upon meeting the character or the class.
getEndIndex() - Method in class org.zkoss.zats.common.select.impl.Token
 
getErrorType() - Method in exception org.zkoss.zats.common.json.parser.ParseException
 
getFieldValue(Object, Field) - Static method in class org.zkoss.zats.common.select.impl.Reflections
Get field value.
getId() - Method in class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
getIndex() - Method in class org.zkoss.zats.common.select.impl.CharSequenceIterator
 
getInput() - Method in exception org.zkoss.zats.common.select.impl.fsm.StateMachine.StateMachineException
 
getLandingState(IN, C) - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
Determines the initial state upon meeting the input character and class
getName() - Method in class org.zkoss.zats.common.select.impl.Attribute
 
getName() - Method in class org.zkoss.zats.common.select.impl.PseudoClass
 
getOperator() - Method in class org.zkoss.zats.common.select.impl.Attribute
 
getOut() - Method in class org.zkoss.zats.common.util.MultiPartOutputStream
 
getParameter() - Method in class org.zkoss.zats.common.select.impl.PseudoClass
 
getParent() - Method in class org.zkoss.zats.common.select.impl.ComponentMatchCtx
Return the parent context
getPosition() - Method in exception org.zkoss.zats.common.json.parser.ParseException
 
getPseudoClasses() - Method in class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
getSelectorIndex() - Method in class org.zkoss.zats.common.select.impl.Selector
Return the index of this selector in a multiple selector sequence.
getState() - Method in exception org.zkoss.zats.common.select.impl.fsm.StateMachine.StateMachineException
 
getState(E) - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
Get the state by token.
getState(E, boolean) - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
Get the state by token.
getStep() - Method in exception org.zkoss.zats.common.select.impl.fsm.StateMachine.StateMachineException
 
getType() - Method in class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
getType() - Method in class org.zkoss.zats.common.select.impl.Token
 
getUnexpectedObject() - Method in exception org.zkoss.zats.common.json.parser.ParseException
 
getValue() - Method in class org.zkoss.zats.common.select.impl.Attribute
 

H

hasNext() - Method in class org.zkoss.zats.common.select.impl.CharSequenceIterator
 
hasNext() - Method in class org.zkoss.zats.common.select.impl.ComponentIterator
Return true if it has next component.

I

IDENTIFIER - org.zkoss.zats.common.select.impl.Token.Type
 
init() - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Initialization method called at the constructor
init() - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
Called at the constructor of state machine
invokeMethod(Method, Object, Object...) - Static method in class org.zkoss.zats.common.select.impl.Reflections
Invoke a method reflexively.
isAppendableToCollection(Type, Object) - Static method in class org.zkoss.zats.common.select.impl.Reflections
Return true if field is of Collection type, and an object of type clazz can be added into the Collection.
isLeaving(IN, C) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Returns true if the machine is leaving this state upon meeting the character or the class.
isMatched() - Method in class org.zkoss.zats.common.select.impl.ComponentMatchCtx
Return true if the component matched the last position of any selectors in the list.
isMatched(int) - Method in class org.zkoss.zats.common.select.impl.ComponentMatchCtx
Return true if the component matched the last position of the given selector.
isPassableToMethod(Method, Object...) - Static method in class org.zkoss.zats.common.select.impl.Reflections
Return true if the given arguments can be passed as the arguments of the method.
isQualified(int, int) - Method in class org.zkoss.zats.common.select.impl.ComponentMatchCtx
Return true if the component matched the given position of the given selector.
isQuoted() - Method in class org.zkoss.zats.common.select.impl.Attribute
 
isReturning(IN, C) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Returns true if this state returns to itself upon meeting the character or the class.
isReturningAll() - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Returns true if this state returns to itself by default, unless meeting specified characters or classes.
isSuspended() - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
Return true if the machine is suspended
isTerminated() - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
Return true if the machine is stopped
iterable(Component, String) - Static method in class org.zkoss.zats.common.select.Selectors
Returns an Iterable that iterates through all Components matched by the selector.
iterable(Page, String) - Static method in class org.zkoss.zats.common.select.Selectors
Returns an Iterable that iterates through all Components matched by the selector.

J

JSONArray - Class in org.zkoss.zats.common.json
A JSON array.
JSONArray() - Constructor for class org.zkoss.zats.common.json.JSONArray
 
JSONAware - Interface in org.zkoss.zats.common.json
Beans that support customized output of JSON text shall implement this interface.
JSONObject - Class in org.zkoss.zats.common.json
A JSON object.
JSONObject() - Constructor for class org.zkoss.zats.common.json.JSONObject
 
JSONObject(Map<String, ?>) - Constructor for class org.zkoss.zats.common.json.JSONObject
Allows creation of a JSONObject from a Map.
JSONParser - Class in org.zkoss.zats.common.json.parser
Parser for JSON text.
JSONParser() - Constructor for class org.zkoss.zats.common.json.parser.JSONParser
 
JSONParserStream - Class in org.zkoss.zats.common.json.parser
Parser for JSON text.
JSONParserStream() - Constructor for class org.zkoss.zats.common.json.parser.JSONParserStream
 
JSONStreamAware - Interface in org.zkoss.zats.common.json
Beans that support customized output of JSON text to a writer shall implement this interface.
JSONValue - Class in org.zkoss.zats.common.json
 
JSONValue() - Constructor for class org.zkoss.zats.common.json.JSONValue
 

M

MacroStateCtx<E,​C,​IN,​E2,​C2> - Class in org.zkoss.zats.common.select.impl.fsm
The real power of StateMachine.
MacroStateCtx(StateMachine<E2, C2, IN>) - Constructor for class org.zkoss.zats.common.select.impl.fsm.MacroStateCtx
Construct a macro state, which consists of a state machine by itself.
match(SimpleSelectorSequence, Map<String, PseudoClassDef>) - Method in class org.zkoss.zats.common.select.impl.ComponentMatchCtx
Return true if the component qualifies the local properties of a given SimpleSelectorSequence.
match(Component, String) - Static method in class org.zkoss.zats.common.select.impl.ComponentLocalProperties
Returns true if the selector matches the given component.
match(Component, String, Map<String, PseudoClassDef>) - Static method in class org.zkoss.zats.common.select.impl.ComponentLocalProperties
Returns true if the selector matches the given component.
merge(Object) - Method in class org.zkoss.zats.common.json.JSONArray
 
merge(Object) - Method in class org.zkoss.zats.common.json.JSONObject
 
merge(JSONArray, Object) - Static method in class org.zkoss.zats.common.json.JSONObject
 
merge(JSONObject, Object) - Static method in class org.zkoss.zats.common.json.JSONObject
 
MINOR_WHITESPACE - org.zkoss.zats.common.select.impl.Token.Type
 
MULTIPART_MIXED - Static variable in class org.zkoss.zats.common.util.MultiPartOutputStream
 
MULTIPART_X_MIXED_REPLACE - Static variable in class org.zkoss.zats.common.util.MultiPartOutputStream
 
MultiPartOutputStream - Class in org.zkoss.zats.common.util
Handle a multipart MIME response.
MultiPartOutputStream(OutputStream, String) - Constructor for class org.zkoss.zats.common.util.MultiPartOutputStream
 

N

next() - Method in class org.zkoss.zats.common.select.impl.CharSequenceIterator
 
next() - Method in class org.zkoss.zats.common.select.impl.ComponentIterator
Return the next matched component.
nextChar() - Method in class org.zkoss.zats.common.select.impl.CharSequenceIterator
 
nextIndex() - Method in class org.zkoss.zats.common.select.impl.ComponentIterator
Return the index of the next component.
NTN_CLASS - org.zkoss.zats.common.select.impl.Token.Type
 
NTN_ID - org.zkoss.zats.common.select.impl.Token.Type
 
NTN_PSDOCLS - org.zkoss.zats.common.select.impl.Token.Type
 

O

onDebug(String) - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
This method is call at certain situations when debug mode is on.
onField(Class<?>, Field, A) - Method in interface org.zkoss.zats.common.select.impl.Reflections.FieldRunner
 
onLand(IN, C, E) - Method in class org.zkoss.zats.common.select.impl.fsm.MacroStateCtx
 
onLand(IN, C, E) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
This method is called when the machine enters this state
onLeave(IN, C, E) - Method in class org.zkoss.zats.common.select.impl.fsm.MacroStateCtx
 
onLeave(IN, C, E) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
This method is called when the machine leaves this state
onMethod(Class<?>, Method, A) - Method in interface org.zkoss.zats.common.select.impl.Reflections.MethodRunner
 
onReject(IN) - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
This method is called when the machine rejects an input character
onReject(IN, C) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
This method is called when the machine rejects the input on this state
onReset() - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
This method is called at constructor and when reseting the machine.
onReturn(IN, C) - Method in class org.zkoss.zats.common.select.impl.fsm.MacroStateCtx
 
onReturn(IN, C) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
This method is called when the machine returns to the same state
onStart(IN, C, E) - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
This method is called when the machine takes the first character.
onStop(boolean) - Method in class org.zkoss.zats.common.select.impl.fsm.MacroStateCtx
 
onStop(boolean) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
This method is called when the machine stops on this state
onStop(boolean) - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
This method is called when the machine stops
onTransit(IN, C) - Method in interface org.zkoss.zats.common.select.impl.fsm.StateCtx.TransitionListener
 
OP_BEGIN_WITH - org.zkoss.zats.common.select.impl.Token.Type
 
OP_CONTAIN - org.zkoss.zats.common.select.impl.Token.Type
 
OP_END_WITH - org.zkoss.zats.common.select.impl.Token.Type
 
OP_EQUAL - org.zkoss.zats.common.select.impl.Token.Type
 
OPEN_BRACKET - org.zkoss.zats.common.select.impl.Token.Type
 
OPEN_PAREN - org.zkoss.zats.common.select.impl.Token.Type
 
org.zkoss.zats - package org.zkoss.zats
 
org.zkoss.zats.common.json - package org.zkoss.zats.common.json
 
org.zkoss.zats.common.json.parser - package org.zkoss.zats.common.json.parser
 
org.zkoss.zats.common.select - package org.zkoss.zats.common.select
 
org.zkoss.zats.common.select.impl - package org.zkoss.zats.common.select.impl
 
org.zkoss.zats.common.select.impl.fsm - package org.zkoss.zats.common.select.impl.fsm
 
org.zkoss.zats.common.util - package org.zkoss.zats.common.util
 

P

PARAM_SEPARATOR - org.zkoss.zats.common.select.impl.Token.Type
 
parse(Reader) - Static method in class org.zkoss.zats.common.json.JSONValue
Parse JSON text into java object from the input source.
parse(Reader) - Method in class org.zkoss.zats.common.json.parser.JSONParserStream
use to return Primitive Type, or String, Or JsonObject or JsonArray generated by a ContainerFactory
parse(Reader, ContainerFactory) - Method in class org.zkoss.zats.common.json.parser.JSONParserStream
use to return Primitive Type, or String, Or JsonObject or JsonArray generated by a ContainerFactory
parse(String) - Static method in class org.zkoss.zats.common.json.JSONValue
 
parse(String) - Method in class org.zkoss.zats.common.json.parser.JSONParser
 
parse(String) - Method in class org.zkoss.zats.common.select.impl.Parser
 
parse(String, ContainerFactory) - Method in class org.zkoss.zats.common.json.parser.JSONParser
 
parse(List<Token>, String) - Method in class org.zkoss.zats.common.select.impl.Parser
 
ParseException - Exception in org.zkoss.zats.common.json.parser
ParseException explains why and where the error occurs in source JSON text.
ParseException - Exception in org.zkoss.zats.common.select.impl
Exception thrown for illegal selector string.
ParseException(int, int, Object) - Constructor for exception org.zkoss.zats.common.json.parser.ParseException
 
ParseException(int, Object, Character) - Constructor for exception org.zkoss.zats.common.select.impl.ParseException
 
ParseException(String) - Constructor for exception org.zkoss.zats.common.select.impl.ParseException
 
Parser - Class in org.zkoss.zats.common.select.impl
A parser that parses selector string and generates selector objects.
Parser() - Constructor for class org.zkoss.zats.common.select.impl.Parser
 
parseWithException(Reader) - Static method in class org.zkoss.zats.common.json.JSONValue
Parse JSON text into java object from the input source.
parseWithException(String) - Static method in class org.zkoss.zats.common.json.JSONValue
 
peek() - Method in class org.zkoss.zats.common.select.impl.CharSequenceIterator
 
peek() - Method in class org.zkoss.zats.common.select.impl.ComponentIterator
Return the next matched component, but the iteration is not proceeded.
peek(int) - Method in class org.zkoss.zats.common.select.impl.CharSequenceIterator
 
primitive(Object) - Method in interface org.zkoss.zats.common.json.parser.ContentHandler
Receive notification of the JSON primitive values: java.lang.String, java.lang.Number, java.lang.Boolean null
PseudoClass - Class in org.zkoss.zats.common.select.impl
The model representing a pseudo class in Selector
PseudoClass(String) - Constructor for class org.zkoss.zats.common.select.impl.PseudoClass
 
PseudoClassDef - Interface in org.zkoss.zats.common.select.impl
The model of pseudo class definition

R

Reflections - Class in org.zkoss.zats.common.select.impl
A collection of reflection utilities.
Reflections() - Constructor for class org.zkoss.zats.common.select.impl.Reflections
 
Reflections.FieldRunner<A extends Annotation> - Interface in org.zkoss.zats.common.select.impl
 
Reflections.MethodRunner<A extends Annotation> - Interface in org.zkoss.zats.common.select.impl
 
remove() - Method in class org.zkoss.zats.common.select.impl.CharSequenceIterator
 
remove() - Method in class org.zkoss.zats.common.select.impl.ComponentIterator
Throws UnsupportedOperationException.
removePseudoClassDef(String) - Method in class org.zkoss.zats.common.select.impl.ComponentIterator
Remove a pseudo class definition.
removeState(E) - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
Remove the state by token.
reset() - Method in class org.zkoss.zats.common.select.impl.CharSequenceIterator
 
run(IN) - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
Feed the machine a single character
run(Iterator<IN>) - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
Feed the machine a stream of characters

S

Selector - Class in org.zkoss.zats.common.select.impl
The model representing a selector.
Selector(int) - Constructor for class org.zkoss.zats.common.select.impl.Selector
 
SELECTOR_SEPARATOR - org.zkoss.zats.common.select.impl.Token.Type
 
Selector.Combinator - Enum in org.zkoss.zats.common.select.impl
 
Selectors - Class in org.zkoss.zats.common.select
A collection of selector related utilities.
Selectors() - Constructor for class org.zkoss.zats.common.select.Selectors
 
setCombinator(Selector.Combinator) - Method in class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
setDebugMode(boolean) - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
Set debug mode, where StateMachine.onDebug(String) is called at certain timing to assist user develop the state machine
setDebugMode(boolean) - Method in class org.zkoss.zats.common.select.impl.Parser
 
setDebugMode(boolean) - Method in class org.zkoss.zats.common.select.impl.Tokenizer
 
setFieldValue(Object, Field, Object) - Static method in class org.zkoss.zats.common.select.impl.Reflections
Set a value to a field of the object.
setId(String) - Method in class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
setMaster(StateMachine<E, C, IN>) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Sets the owner state machine.
setName(String) - Method in class org.zkoss.zats.common.select.impl.Attribute
 
setName(String) - Method in class org.zkoss.zats.common.select.impl.PseudoClass
 
setOperator(Attribute.Operator) - Method in class org.zkoss.zats.common.select.impl.Attribute
 
setPseudoClassDef(String, PseudoClassDef) - Method in class org.zkoss.zats.common.select.impl.ComponentIterator
Add or set pseudo class definition.
setQuoted(boolean) - Method in class org.zkoss.zats.common.select.impl.Attribute
 
setReturningAll(boolean) - Method in class org.zkoss.zats.common.select.impl.fsm.StateCtx
Set whether returns to this state upon meeting unspecified characters
setState(E, StateCtx<E, C, IN>) - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
Set the state by token
setType(String) - Method in class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
setValue(String) - Method in class org.zkoss.zats.common.select.impl.Attribute
 
setValue(String, boolean) - Method in class org.zkoss.zats.common.select.impl.Attribute
 
SimpleSelectorSequence - Class in org.zkoss.zats.common.select.impl
The model representing a sequence of simple selectors.
SimpleSelectorSequence() - Constructor for class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
SimpleSelectorSequence(String) - Constructor for class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
SINGLE_QUOTE - org.zkoss.zats.common.select.impl.Token.Type
 
skip() - Method in class org.zkoss.zats.common.select.impl.CharSequenceIterator
 
skip(int) - Method in class org.zkoss.zats.common.select.impl.CharSequenceIterator
 
source(String) - Method in class org.zkoss.zats.common.select.impl.Token
 
start(IN) - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
Starts the machine with a single input character.
start(Iterator<IN>) - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
Starts the machine with a stream of input characters.
startArray() - Method in interface org.zkoss.zats.common.json.parser.ContentHandler
Receive notification of the beginning of a JSON array.
startJSON() - Method in interface org.zkoss.zats.common.json.parser.ContentHandler
Receive notification of the beginning of JSON processing.
startObject() - Method in interface org.zkoss.zats.common.json.parser.ContentHandler
Receive notification of the beginning of a JSON object.
startObjectEntry(String) - Method in interface org.zkoss.zats.common.json.parser.ContentHandler
Receive notification of the beginning of a JSON object entry.
startPart(String) - Method in class org.zkoss.zats.common.util.MultiPartOutputStream
Start creation of the next Content.
startPart(String, String[]) - Method in class org.zkoss.zats.common.util.MultiPartOutputStream
Start creation of the next Content.
StateCtx<E,​C,​IN> - Class in org.zkoss.zats.common.select.impl.fsm
A context for a State in a StateMachine, holding returning and transition information.
StateCtx() - Constructor for class org.zkoss.zats.common.select.impl.fsm.StateCtx
Creates a new state context
StateCtx.TransitionListener<IN,​C> - Interface in org.zkoss.zats.common.select.impl.fsm
 
StateMachine<E,​C,​IN> - Class in org.zkoss.zats.common.select.impl.fsm
A Finite State Machine implementation.
StateMachine() - Constructor for class org.zkoss.zats.common.select.impl.fsm.StateMachine
Construct a state machine
StateMachine.StateMachineException - Exception in org.zkoss.zats.common.select.impl.fsm
 
StateMachineException(int, Object, Object) - Constructor for exception org.zkoss.zats.common.select.impl.fsm.StateMachine.StateMachineException
 
StateMachineException(int, Object, Object, String) - Constructor for exception org.zkoss.zats.common.select.impl.fsm.StateMachine.StateMachineException
 
StateMachineException(String) - Constructor for exception org.zkoss.zats.common.select.impl.fsm.StateMachine.StateMachineException
 
stopArray - Static variable in class org.zkoss.zats.common.json.parser.JSONParser
 
stopKey - Static variable in class org.zkoss.zats.common.json.parser.JSONParser
 
stopValue - Static variable in class org.zkoss.zats.common.json.parser.JSONParser
 
stopX - Static variable in class org.zkoss.zats.common.json.parser.JSONParser
 
suspend() - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
Suspend the machine

T

terminate() - Method in class org.zkoss.zats.common.select.impl.fsm.StateMachine
Terminates the machine.
toJSONString() - Method in class org.zkoss.zats.common.json.JSONArray
Explicitely Serialize Object as JSon String
toJSONString() - Method in interface org.zkoss.zats.common.json.JSONAware
 
toJSONString() - Method in class org.zkoss.zats.common.json.JSONObject
 
toJSONString(Object) - Static method in class org.zkoss.zats.common.json.JSONValue
Convert an object to JSON text.
toJSONString(List<Object>) - Static method in class org.zkoss.zats.common.json.JSONArray
Convert a list to JSON text.
toJSONString(Map<String, Object>) - Static method in class org.zkoss.zats.common.json.JSONObject
Convert a map to JSON text.
Token - Class in org.zkoss.zats.common.select.impl
The model of Selector token.
Token(Token.Type, int, int) - Constructor for class org.zkoss.zats.common.select.impl.Token
 
Token.Type - Enum in org.zkoss.zats.common.select.impl
 
tokenize(String) - Method in class org.zkoss.zats.common.select.impl.Tokenizer
 
Tokenizer - Class in org.zkoss.zats.common.select.impl
A tokenizer of selector string.
Tokenizer() - Constructor for class org.zkoss.zats.common.select.impl.Tokenizer
 
toString() - Method in class org.zkoss.zats.common.json.JSONArray
Override natif toStirng()
toString() - Method in class org.zkoss.zats.common.json.JSONObject
 
toString() - Method in exception org.zkoss.zats.common.json.parser.ParseException
 
toString() - Method in enum org.zkoss.zats.common.select.impl.Attribute.Operator
 
toString() - Method in class org.zkoss.zats.common.select.impl.Attribute
 
toString() - Method in class org.zkoss.zats.common.select.impl.ComponentMatchCtx
 
toString() - Method in class org.zkoss.zats.common.select.impl.PseudoClass
 
toString() - Method in enum org.zkoss.zats.common.select.impl.Selector.Combinator
 
toString() - Method in class org.zkoss.zats.common.select.impl.Selector
 
toString() - Method in class org.zkoss.zats.common.select.impl.SimpleSelectorSequence
 
toString() - Method in class org.zkoss.zats.common.select.impl.Token
 
toString(String, Object) - Static method in class org.zkoss.zats.common.json.JSONObject
 

U

UNIVERSAL - org.zkoss.zats.common.select.impl.Token.Type
 
UNKNOWN_CHAR - org.zkoss.zats.common.select.impl.Token.Type
 

V

valueOf(String) - Static method in enum org.zkoss.zats.common.select.impl.Attribute.Operator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.zkoss.zats.common.select.impl.Selector.Combinator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.zkoss.zats.common.select.impl.Token.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.zkoss.zats.common.select.impl.Attribute.Operator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.zkoss.zats.common.select.impl.Selector.Combinator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.zkoss.zats.common.select.impl.Token.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

WHITESPACE - org.zkoss.zats.common.select.impl.Token.Type
 
writeJSONString(Appendable) - Method in class org.zkoss.zats.common.json.JSONArray
 
writeJSONString(Appendable) - Method in class org.zkoss.zats.common.json.JSONObject
serialize Object as json to an stream
writeJSONString(Appendable) - Method in interface org.zkoss.zats.common.json.JSONStreamAware
write JSON string to out.
writeJSONString(Object, Appendable) - Static method in class org.zkoss.zats.common.json.JSONValue
Encode an object into JSON text and write it to out.
writeJSONString(List<Object>, Appendable) - Static method in class org.zkoss.zats.common.json.JSONArray
Encode a list into JSON text and write it to out.
writeJSONString(Map<String, Object>, Appendable) - Static method in class org.zkoss.zats.common.json.JSONObject
Encode a map into JSON text and write it to out.

Z

ZatsException - Exception in org.zkoss.zats
the exception represents a zats system error
ZatsException(String) - Constructor for exception org.zkoss.zats.ZatsException
 
ZatsException(String, Throwable) - Constructor for exception org.zkoss.zats.ZatsException
 

_

_current - Variable in class org.zkoss.zats.common.select.impl.fsm.StateMachine
 
_debug - Variable in class org.zkoss.zats.common.select.impl.fsm.StateMachine
 
_machine - Variable in class org.zkoss.zats.common.select.impl.fsm.StateCtx
 
_minorReturners - Variable in class org.zkoss.zats.common.select.impl.fsm.StateCtx
 
_minorTransitionListeners - Variable in class org.zkoss.zats.common.select.impl.fsm.StateCtx
 
_minorTransitions - Variable in class org.zkoss.zats.common.select.impl.fsm.StateCtx
 
_returnAll - Variable in class org.zkoss.zats.common.select.impl.fsm.StateCtx
 
_returners - Variable in class org.zkoss.zats.common.select.impl.fsm.StateCtx
 
_run - Variable in class org.zkoss.zats.common.select.impl.fsm.StateMachine
 
_states - Variable in class org.zkoss.zats.common.select.impl.fsm.StateMachine
 
_step - Variable in class org.zkoss.zats.common.select.impl.fsm.StateMachine
 
_submachine - Variable in class org.zkoss.zats.common.select.impl.fsm.MacroStateCtx
 
_transitionListeners - Variable in class org.zkoss.zats.common.select.impl.fsm.StateCtx
 
_transitions - Variable in class org.zkoss.zats.common.select.impl.fsm.StateCtx
 
A B C D E F G H I J M N O P R S T U V W Z _ 
All Classes All Packages