Modifier and Type | Method and Description |
---|---|
HandlerArgs |
createArgs(Schema schema,
int lineNumber,
String elemName) |
String |
getNormalizedName() |
HandlerParam |
getParam(int i) |
int |
getParamCount() |
Schema |
invokeBegin(int lineNumber,
String elemLocalName,
Schema target,
HandlerArgs args,
Object[] outInvokeArgs) |
void |
invokeEnd(int lineNumber,
String elem,
Schema target,
Object[] args) |
void |
invokeText(int lineNumber,
String text,
Schema target) |
boolean |
isEndMethod() |
boolean |
isStartMethod() |
static HandlerMethod |
tryCreate(Method method)
Attempts to create a handler method from any method.
|
public static HandlerMethod tryCreate(Method method)
public HandlerArgs createArgs(Schema schema, int lineNumber, String elemName)
public String getNormalizedName()
public HandlerParam getParam(int i)
public int getParamCount()
public Schema invokeBegin(int lineNumber, String elemLocalName, Schema target, HandlerArgs args, Object[] outInvokeArgs) throws UnableToCompleteException
UnableToCompleteException
public void invokeEnd(int lineNumber, String elem, Schema target, Object[] args) throws UnableToCompleteException
UnableToCompleteException
public void invokeText(int lineNumber, String text, Schema target) throws UnableToCompleteException
UnableToCompleteException
public boolean isEndMethod()
public boolean isStartMethod()
Copyright © 2018. All rights reserved.