|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.util.XMLAttributeHelper
public final class XMLAttributeHelper
Helper methods for working with global attributes from the XML namespace. These are namely:
| Method Summary | |
|---|---|
static void |
addXMLBase(XMLObject xmlObject,
java.lang.String base)
Adds a xml:base attribute to the given XML object. |
static void |
addXMLId(XMLObject xmlObject,
java.lang.String id)
Adds a xml:id attribute to the given XML object. |
static void |
addXMLLang(XMLObject xmlObject,
java.lang.String lang)
Adds a xml:lang attribute to the given XML object. |
static void |
addXMLSpace(XMLObject xmlObject,
SpaceBearing.XMLSpaceEnum space)
Adds a xml:space attribute to the given XML object. |
static java.lang.String |
getXMLBase(XMLObject xmlObject)
Gets the xml:base attribute from a given XML object. |
static java.lang.String |
getXMLId(XMLObject xmlObject)
Gets the xml:id attribute from a given XML object. |
static java.lang.String |
getXMLLang(XMLObject xmlObject)
Gets the xml:lang attribute from a given XML object. |
static SpaceBearing.XMLSpaceEnum |
getXMLSpace(XMLObject xmlObject)
Gets the xml:space attribute from a given XML object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void addXMLId(XMLObject xmlObject,
java.lang.String id)
xml:id attribute to the given XML object.
xmlObject - the XML object to which to add the attributeid - the Id valuepublic static java.lang.String getXMLId(XMLObject xmlObject)
xml:id attribute from a given XML object.
xmlObject - the XML object from which to extract the attribute
public static void addXMLLang(XMLObject xmlObject,
java.lang.String lang)
xml:lang attribute to the given XML object.
xmlObject - the XML object to which to add the attributelang - the lang valuepublic static java.lang.String getXMLLang(XMLObject xmlObject)
xml:lang attribute from a given XML object.
xmlObject - the XML object from which to extract the attribute
public static void addXMLBase(XMLObject xmlObject,
java.lang.String base)
xml:base attribute to the given XML object.
xmlObject - the XML object to which to add the attributebase - the base valuepublic static java.lang.String getXMLBase(XMLObject xmlObject)
xml:base attribute from a given XML object.
xmlObject - the XML object from which to extract the attribute
public static void addXMLSpace(XMLObject xmlObject,
SpaceBearing.XMLSpaceEnum space)
xml:space attribute to the given XML object.
xmlObject - the XML object to which to add the attributespace - the space valuepublic static SpaceBearing.XMLSpaceEnum getXMLSpace(XMLObject xmlObject)
xml:space attribute from a given XML object.
xmlObject - the XML object from which to extract the attribute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||