|
||||||||||
| 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(java.lang.String uri,
java.lang.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(java.lang.Object obj)
Checks if the given object is the same as this Namespace. |
java.lang.String |
getNamespacePrefix()
Gets the prefix of the namespace. |
java.lang.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(java.lang.String newPrefix)
Sets the prefix of the namespace. |
void |
setNamespaceURI(java.lang.String newURI)
Sets the URI of the namespace. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Namespace()
public Namespace(java.lang.String uri,
java.lang.String prefix)
uri - the URI of the namespaceprefix - the prefix of the namespace| Method Detail |
|---|
public java.lang.String getNamespacePrefix()
public void setNamespacePrefix(java.lang.String newPrefix)
newPrefix - the prefix of the namespacepublic java.lang.String getNamespaceURI()
public void setNamespaceURI(java.lang.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 java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
Namespace
equals in class java.lang.Objectobj -
protected void constructStringRepresentation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||