|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ws4d.java.types.ScopeSet
public class ScopeSet
| Constructor Summary | |
|---|---|
ScopeSet()
Constructor. |
|
ScopeSet(int initialCapacity)
|
|
ScopeSet(ScopeSet set)
Copy Constructor. |
|
ScopeSet(java.lang.String[] scopes)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addAll(ScopeSet scopes)
Adds set of scopes to this. |
void |
addScope(java.lang.String scope)
Adds a single scope to set of scopes. |
void |
addScope(URI scope)
Adds a single scope to set of scopes. |
void |
addUnknownAttribute(QName attributeName,
java.lang.Object value)
Adds unknown attribute. |
static ScopeSet |
construct(java.lang.String scopes)
Constructs a scope set from a string of scopes separated by ' '. |
boolean |
contains(java.lang.String scope)
|
boolean |
containsAll(ScopeSet others)
Checks if a given scope set is completely contained in this list. |
URI |
getScope(int index)
|
java.lang.String |
getScopesAsString()
|
java.lang.String[] |
getScopesAsStringArray()
|
URISet |
getScopesAsUris()
Gets a set of uris. |
java.lang.Object |
getUnknownAttribute(QName attributeName)
Gets unknown attribute by given attribute qname. |
HashMap |
getUnknownAttributes()
Gets all unknown attributes. |
boolean |
isEmpty()
true - if this does not have any scopes. |
void |
setScopes(java.lang.String[] scopes)
Sets scopes. |
int |
size()
Gets size of scope list. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ScopeSet()
public ScopeSet(int initialCapacity)
public ScopeSet(java.lang.String[] scopes)
scopes - list of scopespublic ScopeSet(ScopeSet set)
| Method Detail |
|---|
public static ScopeSet construct(java.lang.String scopes)
scopes -
scopespublic java.lang.String toString()
toString in class java.lang.Objectpublic URI getScope(int index)
public int size()
public URISet getScopesAsUris()
public java.lang.String[] getScopesAsStringArray()
public java.lang.String getScopesAsString()
public boolean isEmpty()
public java.lang.Object getUnknownAttribute(QName attributeName)
attributeName -
public HashMap getUnknownAttributes()
public void addScope(java.lang.String scope)
scope - scope to add.public void addScope(URI scope)
scope - scope to add.public void addAll(ScopeSet scopes)
scopes - scopes to add.
public void addUnknownAttribute(QName attributeName,
java.lang.Object value)
attributeName - value - public boolean containsAll(ScopeSet others)
others -
public boolean contains(java.lang.String scope)
public void setScopes(java.lang.String[] scopes)
scopes - the scopes to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||