org.apache.ws.jaxme.xs.xml
Class XsNamespaceList.Basic
java.lang.Object
   org.apache.ws.jaxme.xs.xml.XsNamespaceList
org.apache.ws.jaxme.xs.xml.XsNamespaceList
       org.apache.ws.jaxme.xs.xml.XsNamespaceList.Basic
org.apache.ws.jaxme.xs.xml.XsNamespaceList.Basic
- Enclosing class:
- XsNamespaceList
- public static class XsNamespaceList.Basic- extends XsNamespaceList
 
 
 
 
 
| Method Summary | 
|  boolean | equals(java.lang.Object pOther)Implemented with
 Arrays#equals(Object[], Object[])and the result ofgetUris(). | 
|  XsAnyURI[] | getUris()Returns the array of URI's specified in the namespace list.
 | 
|  int | hashCode()
 | 
|  boolean | isAny()Returns whether the namespace list matches
 ##any. | 
|  boolean | isOther()Returns whether the namespace list matches
 ##other. | 
|  java.lang.String | toString()
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
 
XsNamespaceList.Basic
protected XsNamespaceList.Basic(java.lang.String pValue,
                                XsAnyURI pTargetNamespace)
isAny
public boolean isAny()
- Description copied from class: XsNamespaceList
- Returns whether the namespace list matches - ##any.
 If this is the case, then- XsNamespaceList.isOther()returns false
 and- XsNamespaceList.getUris()returns null.
 - 
 
- 
- Specified by:
- isAnyin class- XsNamespaceList
 
- 
- Returns:
- false
 
isOther
public boolean isOther()
- Description copied from class: XsNamespaceList
- Returns whether the namespace list matches - ##other.
 If the result is true, then- XsNamespaceList.getUris()may be used to
 obtain an array with a single element, the target namespace.
 - 
 
- 
- Specified by:
- isOtherin class- XsNamespaceList
 
- 
- Returns:
- false
 
getUris
public XsAnyURI[] getUris()
- Description copied from class: XsNamespaceList
- Returns the array of URI's specified in the namespace list.
 If - XsNamespaceList.isAny()returns true, then the result is null.
 If- XsNamespaceList.isOther()returns true, then the result is an
 array with a single element: The target namespace or "" for
 an absent namespace.
 - 
 
- 
- Specified by:
- getUrisin class- XsNamespaceList
 
- 
- Returns:
- An array with the URI's specified in the
 'namespace' attribute.
 
toString
public java.lang.String toString()
- 
- Returns:
- The unmodified value of the 'namespace' attribute.
 
hashCode
public int hashCode()
- 
- Returns:
- An hash code suitable for applying
 Arrays#equals(Object[], Object[])on
 the result ofgetUris().
 
equals
public boolean equals(java.lang.Object pOther)
- Implemented with - Arrays#equals(Object[], Object[])and the result of- getUris().
 - 
 
-