|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.webcommon30.SecurityConstraintTypeImpl<T>
public class SecurityConstraintTypeImpl<T>
This class implements the security-constraintType
xsd type
Original Documentation:
The security-constraintType is used to associate
security constraints with one or more web resource
collections
Used in: web-app
Constructor Summary | |
---|---|
SecurityConstraintTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
SecurityConstraintTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
Method Summary | |
---|---|
AuthConstraintType<SecurityConstraintType<T>> |
authConstraint()
If not already created, a new auth-constraint element will be created and returned. |
java.util.List<java.lang.String> |
getDisplayNameList()
Returns all display-name elements |
java.util.List<WebResourceCollectionType<SecurityConstraintType<T>>> |
getWebResourceCollectionList()
Returns all web-resource-collection elements |
SecurityConstraintType<T> |
removeAllDisplayName()
Removes the display-name element |
SecurityConstraintType<T> |
removeAllWebResourceCollection()
Removes all web-resource-collection elements |
SecurityConstraintType<T> |
removeAuthConstraint()
Removes the auth-constraint element |
SecurityConstraintType<T> |
removeUserDataConstraint()
Removes the user-data-constraint element |
SecurityConstraintType<T> |
setDisplayName(java.lang.String displayName)
Creates a new display-name element |
SecurityConstraintType<T> |
setDisplayNameList(java.lang.String... values)
Creates for all String objects representing display-name elements,
a new display-name element |
T |
up()
|
UserDataConstraintType<SecurityConstraintType<T>> |
userDataConstraint()
If not already created, a new user-data-constraint element will be created and returned. |
WebResourceCollectionType<SecurityConstraintType<T>> |
webResourceCollection()
Returns the web-resource-collection element |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityConstraintTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public SecurityConstraintTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public SecurityConstraintType<T> setDisplayName(java.lang.String displayName)
display-name
element
setDisplayName
in interface SecurityConstraintType<T>
SecurityConstraintType
public SecurityConstraintType<T> setDisplayNameList(java.lang.String... values)
display-name
elements,
a new display-name
element
setDisplayNameList
in interface SecurityConstraintType<T>
list
- of display-name
objects
SecurityConstraintType
public SecurityConstraintType<T> removeAllDisplayName()
display-name
element
removeAllDisplayName
in interface SecurityConstraintType<T>
SecurityConstraintType
public java.util.List<java.lang.String> getDisplayNameList()
display-name
elements
getDisplayNameList
in interface SecurityConstraintType<T>
display-name
public SecurityConstraintType<T> removeAllWebResourceCollection()
web-resource-collection
elements
removeAllWebResourceCollection
in interface SecurityConstraintType<T>
SecurityConstraintType
public WebResourceCollectionType<SecurityConstraintType<T>> webResourceCollection()
web-resource-collection
element
webResourceCollection
in interface SecurityConstraintType<T>
web-resource-collection
public java.util.List<WebResourceCollectionType<SecurityConstraintType<T>>> getWebResourceCollectionList()
web-resource-collection
elements
getWebResourceCollectionList
in interface SecurityConstraintType<T>
web-resource-collection
public SecurityConstraintType<T> removeAuthConstraint()
auth-constraint
element
removeAuthConstraint
in interface SecurityConstraintType<T>
SecurityConstraintType
public AuthConstraintType<SecurityConstraintType<T>> authConstraint()
auth-constraint
element will be created and returned.
Otherwise, the existing auth-constraint
element will be returned.
authConstraint
in interface SecurityConstraintType<T>
auth-constraint
public SecurityConstraintType<T> removeUserDataConstraint()
user-data-constraint
element
removeUserDataConstraint
in interface SecurityConstraintType<T>
SecurityConstraintType
public UserDataConstraintType<SecurityConstraintType<T>> userDataConstraint()
user-data-constraint
element will be created and returned.
Otherwise, the existing user-data-constraint
element will be returned.
userDataConstraint
in interface SecurityConstraintType<T>
user-data-constraint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |