public abstract class OutputElement extends XMLWriterHelper
| Constructor and Description |
|---|
OutputElement(String namespace,
Set<String> requiredRoles) |
OutputElement(String name,
String namespace,
Set<String> requiredRoles,
String arrayName) |
OutputElement(String name,
String namespace,
Set<String> requiredRoles,
String param,
String paramType,
String arrayName) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(XMLStreamWriter xmlWriter,
ExternalParamCollection params,
int queryLevel,
boolean escapeNonPrintableChar)
Executes and writes the contents of this element, given the parameters.
|
protected abstract void |
executeElement(XMLStreamWriter xmlWriter,
ExternalParamCollection params,
int queryLevel,
boolean escapeNonPrintableChar) |
String |
getArrayName() |
String |
getName() |
String |
getParam() |
String |
getParamType() |
Set<String> |
getRequiredRoles()
Returns the requires roles to view this element.
|
boolean |
isOptional()
Checks if this element is optional,
if so, this has to be mentioned in the schema for WSDL generation.
|
boolean |
isOptionalOverride() |
void |
setOptionalOverride(boolean optionalOverride) |
addAttribute, endElement, getNamespace, setNamespace, startRowElement, startWrapperElement, writeResultElementpublic OutputElement(String name, String namespace, Set<String> requiredRoles, String arrayName)
public void execute(XMLStreamWriter xmlWriter, ExternalParamCollection params, int queryLevel, boolean escapeNonPrintableChar) throws DataServiceFault
DataServiceFaultprotected abstract void executeElement(XMLStreamWriter xmlWriter, ExternalParamCollection params, int queryLevel, boolean escapeNonPrintableChar) throws DataServiceFault
DataServiceFaultpublic Set<String> getRequiredRoles()
public boolean isOptional()
public boolean isOptionalOverride()
public void setOptionalOverride(boolean optionalOverride)
public String getArrayName()
public String getParam()
public String getName()
public String getParamType()
Copyright © 2018 WSO2. All rights reserved.