public interface WebFacesPartialResponseDescriptor extends Descriptor, DescriptorNamespace<WebFacesPartialResponseDescriptor>, WebFacesPartialResponseCommonDescriptor<WebFacesPartialResponseDescriptor,PartialResponseChangesType<WebFacesPartialResponseDescriptor>,PartialResponseRedirectType<WebFacesPartialResponseDescriptor>,PartialResponseErrorType<WebFacesPartialResponseDescriptor>>
This deployment descriptor provides the functionalities as described in the specification
Example:
WebFacesPartialResponseDescriptor descriptor = Descriptors.create(WebFacesPartialResponseDescriptor.class);
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the
id attribute |
PartialResponseChangesType<WebFacesPartialResponseDescriptor> |
getOrCreateChanges()
If not already created, a new
changes element with the given value will be created. |
PartialResponseErrorType<WebFacesPartialResponseDescriptor> |
getOrCreateError()
If not already created, a new
error element with the given value will be created. |
PartialResponseRedirectType<WebFacesPartialResponseDescriptor> |
getOrCreateRedirect()
If not already created, a new
redirect element with the given value will be created. |
WebFacesPartialResponseDescriptor |
id(String id)
Sets the
id attribute |
WebFacesPartialResponseDescriptor |
removeChanges()
Removes the
changes element |
WebFacesPartialResponseDescriptor |
removeError()
Removes the
error element |
WebFacesPartialResponseDescriptor |
removeId()
Removes the
id attribute |
WebFacesPartialResponseDescriptor |
removeRedirect()
Removes the
redirect element |
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces
exportAsString, exportTo, getDescriptorName
PartialResponseChangesType<WebFacesPartialResponseDescriptor> getOrCreateChanges()
changes
element with the given value will be created.
Otherwise, the existing changes
element will be returned.PartialResponseChangesType
WebFacesPartialResponseDescriptor removeChanges()
changes
elementWebFacesPartialResponseDescriptor
PartialResponseRedirectType<WebFacesPartialResponseDescriptor> getOrCreateRedirect()
redirect
element with the given value will be created.
Otherwise, the existing redirect
element will be returned.PartialResponseRedirectType
WebFacesPartialResponseDescriptor removeRedirect()
redirect
elementWebFacesPartialResponseDescriptor
PartialResponseErrorType<WebFacesPartialResponseDescriptor> getOrCreateError()
error
element with the given value will be created.
Otherwise, the existing error
element will be returned.PartialResponseErrorType
WebFacesPartialResponseDescriptor removeError()
error
elementWebFacesPartialResponseDescriptor
WebFacesPartialResponseDescriptor id(String id)
id
attributeid
- the value for the attribute id
WebFacesPartialResponseDescriptor
String getId()
id
attributeid
WebFacesPartialResponseDescriptor removeId()
id
attributeWebFacesPartialResponseDescriptor
Copyright © 2019 JBoss by Red Hat. All rights reserved.