public class QueryPattern extends BasePattern<QueryPattern.Options>
| Modifier and Type | Class and Description |
|---|---|
static class |
QueryPattern.Options
Options for query, the supported attributes match the property names.
|
| Constructor and Description |
|---|
QueryPattern() |
| Modifier and Type | Method and Description |
|---|---|
BinderResult |
bind(BinderParams<QueryPattern.Options> params)
Binds a query pattern.
|
CreatorResult |
create(CreatorParams<QueryPattern.Options> params)
Creates the query, defers to bind for binding the attributes.
|
QueryPattern.Options |
createOptions(CreatorParams<QueryPattern.Options> params)
Returns a new options class where all attributes are initially null.
|
protected Binder |
createQueryBinder() |
protected org.w3c.dom.Element |
createQueryElement(org.w3c.dom.Document d) |
protected org.w3c.dom.Element |
findChildElement(org.w3c.dom.Node parentElement, java.lang.String localName) |
protected org.w3c.dom.Element |
findQueryElement(org.w3c.dom.Element panelHeader) |
QueryPattern.Options |
generateOptions(BinderParams<QueryPattern.Options> params)
Generates an options class based on the bind root.
|
protected org.w3c.dom.Element |
processQueryElement(org.w3c.dom.Element panelHeader, QueryPattern.Options options) |
protected void |
updateQueryElements(org.w3c.dom.Element queryElement, org.w3c.dom.Element tableElement, QueryPattern.Options options, java.lang.String resultComponentId) |
canRebind, getSingleBindRootpublic CreatorResult create(CreatorParams<QueryPattern.Options> params)
create in interface Creator2<QueryPattern.Options>create in class BasePattern<QueryPattern.Options>params - See CreatorParams for listingpublic BinderResult bind(BinderParams<QueryPattern.Options> params)
bind in interface Binder2<QueryPattern.Options>bind in class BaseBinder2<QueryPattern.Options>params - See BinderParams for a complete listpublic QueryPattern.Options createOptions(CreatorParams<QueryPattern.Options> params)
createOptions in interface Creator2<QueryPattern.Options>createOptions in class BasePattern<QueryPattern.Options>params - See CreatorParams for a complete listpublic QueryPattern.Options generateOptions(BinderParams<QueryPattern.Options> params)
generateOptions in interface Binder2<QueryPattern.Options>generateOptions in class BaseBinder2<QueryPattern.Options>params - See BinderParams for a complete listprotected org.w3c.dom.Element createQueryElement(org.w3c.dom.Document d)
protected org.w3c.dom.Element findQueryElement(org.w3c.dom.Element panelHeader)
protected Binder createQueryBinder()
protected org.w3c.dom.Element processQueryElement(org.w3c.dom.Element panelHeader,
QueryPattern.Options options)
protected org.w3c.dom.Element findChildElement(org.w3c.dom.Node parentElement,
java.lang.String localName)
protected void updateQueryElements(org.w3c.dom.Element queryElement,
org.w3c.dom.Element tableElement,
QueryPattern.Options options,
java.lang.String resultComponentId)