|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ws4d.java.types.URI
org.ws4d.java.types.AttributedURI
public class AttributedURI
Extension of uri. Includes Map
with attribute
name to attribute value.
Field Summary |
---|
Fields inherited from class org.ws4d.java.types.URI |
---|
EMPTY_URI, URN_SCHEMA_PREFIX |
Constructor Summary | |
---|---|
AttributedURI(java.lang.String suri)
Constructor. |
|
AttributedURI(java.lang.String suri,
HashMap attributeMap)
Constructor. |
|
AttributedURI(java.lang.String absoluteURI,
URI baseURI,
HashMap attributeMap)
Constructor. |
|
AttributedURI(URI uri)
Constructor. |
|
AttributedURI(URI uri,
HashMap attributeMap)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Object |
getAttribute(QName attributeName)
Get attribute value of uri by attribute name. |
HashMap |
getAttributedMap_QN_2_Obj()
Get the whole Map. |
int |
hashCode()
|
static AttributedURI |
parse(ElementParser parser)
Method to parse a AttributedURI. |
void |
serialize(XmlSerializer serializer,
java.lang.String namespace,
java.lang.String elementName)
Serialize the Attributed URI to the Soap Document. |
Methods inherited from class org.ws4d.java.types.URI |
---|
absolutize, clone, equalsWsdRfc3986, getFragment, getHost, getHostWithPort, getPassword, getPath, getPath, getPathDeepness, getPort, getQuery, getSchema, getUser, isIPv6Address, isIPv6Address, isRelativeReference, isURN, isValid, setFragment, setFragmentEncoded, setQuery, setQueryEncoded, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttributedURI(java.lang.String suri)
String
.
suri
- the String representation of an URI.public AttributedURI(java.lang.String suri, HashMap attributeMap)
String
.
suri
- the String representation of an URI.attributeMap
- Map
: attribute names to
attribute valuespublic AttributedURI(java.lang.String absoluteURI, URI baseURI, HashMap attributeMap)
String
.
absoluteURI
- the String representation of an URI.baseURI
- if baseURI is set, the absoluteURI is handled as relative
URI in relation to the baseURI.attributeMap
- Mappublic AttributedURI(URI uri)
uri
- public AttributedURI(URI uri, HashMap attributeMap)
uri
- attributeMap
- MapMethod Detail |
---|
public java.lang.Object getAttribute(QName attributeName)
attributeName
- attribute name to get the linked attribute value.
public HashMap getAttributedMap_QN_2_Obj()
public int hashCode()
hashCode
in class URI
public boolean equals(java.lang.Object obj)
equals
in class URI
public static AttributedURI parse(ElementParser parser) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
parser
-
org.xmlpull.v1.XmlPullParserException
java.io.IOException
public void serialize(XmlSerializer serializer, java.lang.String namespace, java.lang.String elementName) throws java.io.IOException
namespace
- elementName
- attrUri
-
java.lang.IllegalArgumentException
WS4DIllegalStateException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |