/** * Get {@link Use} such as <code>literal</code> or <code>encoded</code>. */ public Use getUse() { return use; }
/** * Returns true if its document/literal */ public boolean isDocLit() { return style == Style.DOCUMENT && use == Use.LITERAL; }
/** * Returns true if this is a rpc/literal binding */ public boolean isRpcLit() { return style == Style.RPC && use == Use.LITERAL; }