|
XMLTooling-J 1.3.2-redhat-4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.xml.Namespace
public class Namespace
Data structure for representing XML namespace attributes.
Constructor Summary | |
---|---|
Namespace()
Constructor. |
|
Namespace(String uri,
String prefix)
Constructor. |
Method Summary | |
---|---|
boolean |
alwaysDeclare()
Deprecated. use appropriate methods on the XMLObject's NamespaceManager . |
protected void |
constructStringRepresentation()
Constructs an XML namespace declaration string representing this namespace. |
boolean |
equals(Object obj)
Checks if the given object is the same as this Namespace. |
String |
getNamespacePrefix()
Gets the prefix of the namespace. |
String |
getNamespaceURI()
Gets the URI of the namespace. |
int |
hashCode()
|
void |
setAlwaysDeclare(boolean shouldAlwaysDeclare)
Deprecated. use appropriate methods on the XMLObject's NamespaceManager . |
void |
setNamespacePrefix(String newPrefix)
Sets the prefix of the namespace. |
void |
setNamespaceURI(String newURI)
Sets the URI of the namespace. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Namespace()
public Namespace(String uri, String prefix)
uri
- the URI of the namespaceprefix
- the prefix of the namespaceMethod Detail |
---|
public String getNamespacePrefix()
public void setNamespacePrefix(String newPrefix)
newPrefix
- the prefix of the namespacepublic String getNamespaceURI()
public void setNamespaceURI(String newURI)
newURI
- the URI of the namespacepublic boolean alwaysDeclare()
NamespaceManager
.
public void setAlwaysDeclare(boolean shouldAlwaysDeclare)
NamespaceManager
.
shouldAlwaysDeclare
- true if this namespace should always be declared, false if notpublic String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
Namespace
equals
in class Object
obj
-
protected void constructStringRepresentation()
|
XMLTooling-J 1.3.2-redhat-4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |