From 3fc853cc1e861f455888a92ff0c9995270d2ba2c Mon Sep 17 00:00:00 2001 From: root Date: Mon, 25 Jul 2011 20:14:02 +0200 Subject: imported 1.1.2 --- .../shibboleth/wayf/idpdisco/Description.html | 71 +++++ .../wayf/idpdisco/DescriptionBuilder.html | 58 ++++ .../shibboleth/wayf/idpdisco/DescriptionImpl.html | 61 ++++ .../wayf/idpdisco/DescriptionMarshaller.html | 46 +++ .../wayf/idpdisco/DescriptionUnmarshaller.html | 39 +++ .../shibboleth/wayf/idpdisco/DiscoHints.html | 82 +++++ .../wayf/idpdisco/DiscoHintsBuilder.html | 57 ++++ .../shibboleth/wayf/idpdisco/DiscoHintsImpl.html | 94 ++++++ .../wayf/idpdisco/DiscoHintsMarshaller.html | 41 +++ .../wayf/idpdisco/DiscoHintsUnmarshaller.html | 58 ++++ .../shibboleth/wayf/idpdisco/DisplayName.html | 70 ++++ .../wayf/idpdisco/DisplayNameBuilder.html | 58 ++++ .../shibboleth/wayf/idpdisco/DisplayNameImpl.html | 48 +++ .../wayf/idpdisco/DisplayNameMarshaller.html | 46 +++ .../wayf/idpdisco/DisplayNameUnmarshaller.html | 38 +++ .../shibboleth/wayf/idpdisco/DomainHint.html | 69 ++++ .../wayf/idpdisco/DomainHintBuilder.html | 58 ++++ .../shibboleth/wayf/idpdisco/DomainHintImpl.html | 73 +++++ .../wayf/idpdisco/DomainHintMarshaller.html | 52 +++ .../wayf/idpdisco/DomainHintUnmarshaller.html | 52 +++ .../shibboleth/wayf/idpdisco/GeolocationHint.html | 70 ++++ .../wayf/idpdisco/GeolocationHintBuilder.html | 58 ++++ .../wayf/idpdisco/GeolocationHintImpl.html | 76 +++++ .../wayf/idpdisco/GeolocationHintMarshaller.html | 52 +++ .../wayf/idpdisco/GeolocationHintUnmarshaller.html | 47 +++ .../shibboleth/wayf/idpdisco/IPHint.html | 69 ++++ .../shibboleth/wayf/idpdisco/IPHintBuilder.html | 58 ++++ .../shibboleth/wayf/idpdisco/IPHintImpl.html | 76 +++++ .../shibboleth/wayf/idpdisco/IPHintMarshaller.html | 52 +++ .../wayf/idpdisco/IPHintUnmarshaller.html | 52 +++ .../shibboleth/wayf/idpdisco/InformationURL.html | 70 ++++ .../wayf/idpdisco/InformationURLBuilder.html | 58 ++++ .../wayf/idpdisco/InformationURLImpl.html | 68 ++++ .../wayf/idpdisco/InformationURLMarshaller.html | 38 +++ .../wayf/idpdisco/InformationURLUnmarshaller.html | 37 +++ .../shibboleth/wayf/idpdisco/LocalizedName.html | 58 ++++ .../wayf/idpdisco/LocalizedNameImpl.html | 89 ++++++ .../wayf/idpdisco/LocalizedNameMarshaller.html | 69 ++++ .../wayf/idpdisco/LocalizedNameUnmarshaller.html | 76 +++++ .../shibboleth/wayf/idpdisco/LocalizedURI.html | 58 ++++ .../shibboleth/wayf/idpdisco/LocalizedURIImpl.html | 89 ++++++ .../wayf/idpdisco/LocalizedURIMarshaller.html | 69 ++++ .../wayf/idpdisco/LocalizedURIUnmarshaller.html | 76 +++++ .../middleware/shibboleth/wayf/idpdisco/Logo.html | 99 ++++++ .../shibboleth/wayf/idpdisco/LogoBuilder.html | 58 ++++ .../shibboleth/wayf/idpdisco/LogoImpl.html | 123 +++++++ .../shibboleth/wayf/idpdisco/LogoMarshaller.html | 75 +++++ .../shibboleth/wayf/idpdisco/LogoUnmarshaller.html | 81 +++++ .../wayf/idpdisco/PrivacyStatementURL.html | 70 ++++ .../wayf/idpdisco/PrivacyStatementURLBuilder.html | 60 ++++ .../wayf/idpdisco/PrivacyStatementURLImpl.html | 72 +++++ .../idpdisco/PrivacyStatementURLMarshaller.html | 38 +++ .../idpdisco/PrivacyStatementURLUnmarshaller.html | 38 +++ .../shibboleth/wayf/idpdisco/UIInfo.html | 119 +++++++ .../shibboleth/wayf/idpdisco/UIInfoBuilder.html | 55 ++++ .../shibboleth/wayf/idpdisco/UIInfoImpl.html | 115 +++++++ .../shibboleth/wayf/idpdisco/UIInfoMarshaller.html | 41 +++ .../wayf/idpdisco/UIInfoUnmarshaller.html | 61 ++++ .../shibboleth/wayf/idpdisco/package-frame.html | 195 ++++++++++++ .../shibboleth/wayf/idpdisco/package-summary.html | 352 +++++++++++++++++++++ 60 files changed, 4288 insertions(+) create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/Description.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DescriptionBuilder.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DescriptionImpl.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DescriptionMarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DescriptionUnmarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHints.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHintsBuilder.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHintsImpl.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHintsMarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHintsUnmarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayName.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayNameBuilder.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayNameImpl.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayNameMarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayNameUnmarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHint.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHintBuilder.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHintImpl.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHintMarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHintUnmarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHint.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHintBuilder.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHintImpl.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHintMarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHintUnmarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHint.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHintBuilder.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHintImpl.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHintMarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHintUnmarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURL.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURLBuilder.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURLImpl.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURLMarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURLUnmarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedName.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedNameImpl.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedNameMarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedNameUnmarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedURI.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedURIImpl.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedURIMarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedURIUnmarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/Logo.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LogoBuilder.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LogoImpl.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LogoMarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LogoUnmarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURL.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURLBuilder.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURLImpl.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURLMarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURLUnmarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfo.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfoBuilder.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfoImpl.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfoMarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfoUnmarshaller.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/package-frame.html create mode 100644 doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/package-summary.html (limited to 'doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco') diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/Description.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/Description.html new file mode 100644 index 0000000..751d176 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/Description.html @@ -0,0 +1,71 @@ + + + + +Description xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright [2005] [University Corporation for Advanced Internet Development, Inc.]
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import javax.xml.namespace.QName;
+20  
+21  import org.opensaml.common.SAMLObject;
+22  import org.opensaml.common.xml.SAMLConstants;
+23  import org.opensaml.saml2.metadata.LocalizedString;
+24  
+25  /**
+26   * DisplayName.
+27   *
+28   * See IdP Discovery and Login UI Metadata Extension Profile.
+29   *
+30   * @author Rod Widdowson August 2010
+31   * 
+32   * Reflects the Description in the IdP Discovery and Login UI Metadata Extension Profile.
+33   * 
+34   */
+35  public interface Description extends LocalizedName {
+36  
+37      /** Element local name. */
+38      public static final String DEFAULT_ELEMENT_LOCAL_NAME = "Description";
+39      
+40      /** Default element name. */
+41      public static final QName DEFAULT_ELEMENT_NAME = new QName(UIInfo.MDUI_NS, 
+42              DEFAULT_ELEMENT_LOCAL_NAME, UIInfo.MDUI_PREFIX);
+43      
+44      /**
+45       * Gets the description of the EndPoint.
+46       * 
+47       * @return the description of the EndPoint
+48       */
+49      public LocalizedString getDescription();
+50      
+51      /**
+52       * Sets the description of the EndPoint.
+53       * 
+54       * @param newDescription description of the EndPoint
+55       */
+56      public void setDescription(LocalizedString newDescription);
+57  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DescriptionBuilder.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DescriptionBuilder.html new file mode 100644 index 0000000..c803e3e --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DescriptionBuilder.html @@ -0,0 +1,58 @@ + + + + +DescriptionBuilder xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectBuilder;
+20  
+21  /**
+22   * Builder of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.Description} objects.
+23   * @author Rod Widdowson
+24   */
+25  public class DescriptionBuilder extends AbstractSAMLObjectBuilder<Description> {
+26      /**
+27       * Constructor.
+28       */
+29      public DescriptionBuilder() {
+30  
+31      }
+32  
+33      /** {@inheritDoc} */
+34      public Description buildObject() {
+35          return buildObject(UIInfo.MDUI_NS, 
+36                             Description.DEFAULT_ELEMENT_LOCAL_NAME, 
+37                             UIInfo.MDUI_PREFIX);
+38      }
+39  
+40      /** {@inheritDoc} */
+41      public Description buildObject(String namespaceURI, String localName, String namespacePrefix) {
+42          return new DescriptionImpl(namespaceURI, localName, namespacePrefix);
+43      }
+44  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DescriptionImpl.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DescriptionImpl.html new file mode 100644 index 0000000..7f6d927 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DescriptionImpl.html @@ -0,0 +1,61 @@ + + + + +DescriptionImpl xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.saml2.metadata.LocalizedString;
+20  
+21  /**
+22   * Concrete implementation of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.Description}.
+23   */
+24  public class DescriptionImpl extends LocalizedNameImpl implements Description {
+25  
+26      /**
+27       * Constructor.
+28       * 
+29       * @param namespaceURI the namespaceURI
+30       * @param elementLocalName the elementLocalName
+31       * @param namespacePrefix the namespacePrefix
+32       */
+33      protected DescriptionImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
+34          super(namespaceURI, elementLocalName, namespacePrefix);
+35      }
+36  
+37      /** {@inheritDoc} */
+38      public LocalizedString getDescription() {
+39          return getName();
+40      }
+41  
+42      /** {@inheritDoc} */
+43      public void setDescription(LocalizedString newDescription) {
+44          setName(newDescription);
+45      }
+46  
+47  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DescriptionMarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DescriptionMarshaller.html new file mode 100644 index 0000000..3f7e507 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DescriptionMarshaller.html @@ -0,0 +1,46 @@ + + + + +DescriptionMarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectMarshaller;
+20  import org.opensaml.common.xml.SAMLConstants;
+21  import org.opensaml.xml.XMLObject;
+22  import org.opensaml.xml.io.MarshallingException;
+23  import org.opensaml.xml.util.XMLHelper;
+24  import org.w3c.dom.Attr;
+25  import org.w3c.dom.Element;
+26  
+27  /**
+28   * A thread safe Marshaller for {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.Description} objects.
+29   */
+30  public class DescriptionMarshaller extends LocalizedNameMarshaller {
+31  
+32  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DescriptionUnmarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DescriptionUnmarshaller.html new file mode 100644 index 0000000..c35d6c3 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DescriptionUnmarshaller.html @@ -0,0 +1,39 @@ + + + + +DescriptionUnmarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  
+20  /**
+21   * A thread-safe unmarshaller for {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.Description} objects.
+22   */
+23  public class DescriptionUnmarshaller extends LocalizedNameUnmarshaller {
+24  
+25  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHints.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHints.html new file mode 100644 index 0000000..d185fa6 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHints.html @@ -0,0 +1,82 @@ + + + + +DiscoHints xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import java.util.List;
+20  
+21  import javax.xml.namespace.QName;
+22  
+23  import org.opensaml.common.SAMLObject;
+24  
+25  /**
+26   * See IdP Discovery and Login UI Metadata Extension Profile.
+27   * 
+28   * @author RDW 27/Aug/2010
+29   * 
+30   * Reflects the DiscoHints 
+31   */
+32  public interface DiscoHints extends SAMLObject {
+33      /** Namespace for Discovery Service metadata extensions. */
+34      public static final String MDUI_NS = "urn:oasis:names:tc:SAML:metadata:ui";
+35  
+36      /** Default namespace prefix used by this library. */
+37      public static final String  MDUI_PREFIX = "mdui";
+38  
+39      /** Name of the element inside the Extensions. */
+40      public static final String DEFAULT_ELEMENT_LOCAL_NAME = "DiscoHints";
+41  
+42      /** Default element name. */
+43      public static final QName DEFAULT_ELEMENT_NAME = new QName(MDUI_NS, DEFAULT_ELEMENT_LOCAL_NAME,
+44              MDUI_PREFIX);
+45      
+46      /** 
+47       * The <IPHint> element specifies a set of [CIDR] blocks associated with, 
+48       *  or serviced by, the entity.  Both IPv4 and IPv6 CIDR blocks MUST be supported.
+49       * 
+50       * @return hints
+51       */
+52      public List <IPHint> getIPHints();
+53      
+54      /** The <DomainHint> element specifies a set of DNS domains associated with, 
+55       * or serviced by, the entity.
+56       * @return hints.
+57       */
+58      public List <DomainHint> getDomainHints();
+59      
+60      /** The <GeolocationHint> element specifies the geographic coordinates associated 
+61       *  with, or serviced by, the entity.  Coordinates are given in decimal form using
+62       *  the World Geodetic System (2d) coordinate system.
+63       * 
+64       * @return hints
+65       */
+66      public List <GeolocationHint> getGeolocationHints();
+67      
+68  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHintsBuilder.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHintsBuilder.html new file mode 100644 index 0000000..5f2cb8f --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHintsBuilder.html @@ -0,0 +1,57 @@ + + + + +DiscoHintsBuilder xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+17  
+18  import org.opensaml.common.impl.AbstractSAMLObjectBuilder;
+19  
+20  /**
+21   * Builder of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.UIInfo}.
+22   */
+23  public class DiscoHintsBuilder extends AbstractSAMLObjectBuilder<DiscoHints> {
+24  
+25      /**
+26       * Constructor.
+27       */
+28      public DiscoHintsBuilder() {
+29  
+30      }
+31  
+32      /** {@inheritDoc} */
+33      public DiscoHints buildObject() {
+34          return buildObject(DiscoHints.MDUI_NS, 
+35                             DiscoHints.DEFAULT_ELEMENT_LOCAL_NAME, 
+36                             DiscoHints.MDUI_PREFIX);
+37      }
+38  
+39      /** {@inheritDoc} */
+40      public DiscoHints buildObject(String namespaceURI, String localName, String namespacePrefix) {
+41          return new DiscoHintsImpl(namespaceURI, localName, namespacePrefix);
+42      }
+43  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHintsImpl.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHintsImpl.html new file mode 100644 index 0000000..7147fe8 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHintsImpl.html @@ -0,0 +1,94 @@ + + + + +DiscoHintsImpl xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import java.util.ArrayList;
+20  import java.util.List;
+21  
+22  import org.opensaml.common.impl.AbstractSAMLObject;
+23  import org.opensaml.xml.XMLObject;
+24  import org.opensaml.xml.util.XMLObjectChildrenList;
+25  
+26  /**
+27   *  Concrete implementation of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.DiscHints}.
+28   * @author Rod Widdowson
+29   *
+30   */
+31  public class DiscoHintsImpl extends AbstractSAMLObject implements DiscoHints {
+32  
+33      /** DNS Domain hints. */
+34      private final XMLObjectChildrenList<DomainHint> domainHints;
+35      
+36      /** IP Address hints. */
+37      private final XMLObjectChildrenList<IPHint> iPHints;
+38  
+39      /** GeoLocation hints. */
+40      private final XMLObjectChildrenList<GeolocationHint> geoHints;
+41      
+42      /**
+43       * Constructor.
+44       * @param namespaceURI namespaceURI
+45       * @param elementLocalName elementLocalName
+46       * @param namespacePrefix namespacePrefix
+47       */
+48      
+49      protected DiscoHintsImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
+50          super(namespaceURI, elementLocalName, namespacePrefix);
+51          domainHints = new XMLObjectChildrenList<DomainHint>(this);
+52          iPHints = new XMLObjectChildrenList<IPHint>(this);
+53          geoHints = new XMLObjectChildrenList<GeolocationHint>(this);
+54      }
+55  
+56      /** {@inheritDoc} */
+57      public List<DomainHint> getDomainHints() {
+58          return domainHints;
+59      }
+60  
+61      /** {@inheritDoc} */
+62      public List<GeolocationHint> getGeolocationHints() {
+63          return geoHints;
+64      }
+65  
+66      /** {@inheritDoc} */
+67      public List<IPHint> getIPHints() {
+68          return iPHints;
+69      }
+70  
+71      /** {@inheritDoc} */
+72      public List<XMLObject> getOrderedChildren() {
+73          ArrayList<XMLObject> children = new ArrayList<XMLObject>();
+74          
+75          children.addAll(domainHints);
+76          children.addAll(iPHints);
+77          children.addAll(geoHints);
+78          return children;
+79      }
+80  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHintsMarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHintsMarshaller.html new file mode 100644 index 0000000..ec12bf6 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHintsMarshaller.html @@ -0,0 +1,41 @@ + + + + +DiscoHintsMarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  
+18  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+19  
+20  import org.opensaml.common.impl.AbstractSAMLObjectMarshaller;
+21  
+22  /**
+23   * A thread safe Marshaller for {@link @linkedu.internet2.middleware.shibboleth.wayf.idpdisco.DiscoHints} objects.
+24   */
+25  public class DiscoHintsMarshaller extends AbstractSAMLObjectMarshaller {
+26  
+27  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHintsUnmarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHintsUnmarshaller.html new file mode 100644 index 0000000..5145cab --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DiscoHintsUnmarshaller.html @@ -0,0 +1,58 @@ + + + + +DiscoHintsUnmarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectUnmarshaller;
+20  import org.opensaml.xml.XMLObject;
+21  import org.opensaml.xml.io.UnmarshallingException;
+22  
+23  /**
+24   * A thread-safe Unmarshaller for {@link org.opensaml.saml2.metadata.DiscoHints} objects.
+25   */
+26  public class DiscoHintsUnmarshaller extends AbstractSAMLObjectUnmarshaller {
+27  
+28      /** {@inheritDoc} */
+29      protected void processChildElement(XMLObject parentSAMLObject, XMLObject childSAMLObject)
+30              throws UnmarshallingException {
+31          DiscoHints info = (DiscoHints) parentSAMLObject;
+32  
+33          if (childSAMLObject instanceof IPHint) {
+34              info.getIPHints().add((IPHint) childSAMLObject);
+35          } else if (childSAMLObject instanceof DomainHint) {
+36              info.getDomainHints().add((DomainHint) childSAMLObject);
+37          } else if (childSAMLObject instanceof GeolocationHint) {
+38              info.getGeolocationHints().add((GeolocationHint) childSAMLObject);
+39          } else {
+40              super.processChildElement(parentSAMLObject, childSAMLObject);
+41          }
+42      }
+43  
+44  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayName.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayName.html new file mode 100644 index 0000000..fbdc318 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayName.html @@ -0,0 +1,70 @@ + + + + +DisplayName xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright [2005] [University Corporation for Advanced Internet Development, Inc.]
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import javax.xml.namespace.QName;
+20  
+21  import org.opensaml.common.SAMLObject;
+22  import org.opensaml.saml2.metadata.LocalizedString;
+23  import org.opensaml.xml.LangBearing;
+24  
+25  /**
+26   * DisplayName.
+27   *
+28   * See IdP Discovery and Login UI Metadata Extension Profile.
+29   *
+30   * @author Rod Widdowson August 2010
+31   * 
+32   * Reflects the UINFO in the IdP Discovery and Login UI Metadata Extension Profile/
+33   * */
+34  public interface DisplayName extends LocalizedName {
+35  
+36      /** Element local name. */
+37      public static final String DEFAULT_ELEMENT_LOCAL_NAME = "DisplayName";
+38      
+39      /** Default element name. */
+40      public static final QName DEFAULT_ELEMENT_NAME = new QName(UIInfo.MDUI_NS, 
+41              DEFAULT_ELEMENT_LOCAL_NAME, UIInfo.MDUI_PREFIX);
+42      
+43      /**
+44       * Gets the name of the EndPoint.
+45       * 
+46       * @return the name of the EndPoint
+47       */
+48      public LocalizedString getName();
+49      
+50      /**
+51       * Sets the EndPoint name.
+52       * 
+53       * @param newName EndPoint name
+54       */
+55      public void setName(LocalizedString newName);
+56  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayNameBuilder.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayNameBuilder.html new file mode 100644 index 0000000..e04cbfd --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayNameBuilder.html @@ -0,0 +1,58 @@ + + + + +DisplayNameBuilder xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectBuilder;
+20  
+21  /**
+22   * Builder of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.DisplayName} objects.
+23   */
+24  public class DisplayNameBuilder extends AbstractSAMLObjectBuilder<DisplayName> {
+25  
+26      /**
+27       * Constructor.
+28       */
+29      public DisplayNameBuilder() {
+30  
+31      }
+32  
+33      /** {@inheritDoc} */
+34      public DisplayName buildObject() {
+35          return buildObject(UIInfo.MDUI_NS, 
+36                             DisplayName.DEFAULT_ELEMENT_LOCAL_NAME, 
+37                             UIInfo.MDUI_PREFIX);
+38      }
+39  
+40      /** {@inheritDoc} */
+41      public DisplayName buildObject(String namespaceURI, String localName, String namespacePrefix) {
+42          return new DisplayNameImpl(namespaceURI, localName, namespacePrefix);
+43      }
+44  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayNameImpl.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayNameImpl.html new file mode 100644 index 0000000..6f17732 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayNameImpl.html @@ -0,0 +1,48 @@ + + + + +DisplayNameImpl xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+17  
+18  
+19  /**
+20   * Concrete implementation of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.DisplayName}.
+21   */
+22  public class DisplayNameImpl extends LocalizedNameImpl implements DisplayName {
+23  
+24      /**
+25       * Constructor.
+26       * 
+27       * @param namespaceURI the namespaceURI
+28       * @param elementLocalName the elementLocalName
+29       * @param namespacePrefix the namespacePrefix
+30       */
+31      protected DisplayNameImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
+32          super(namespaceURI, elementLocalName, namespacePrefix);
+33      }
+34  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayNameMarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayNameMarshaller.html new file mode 100644 index 0000000..c3558c3 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayNameMarshaller.html @@ -0,0 +1,46 @@ + + + + +DisplayNameMarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectMarshaller;
+20  import org.opensaml.common.xml.SAMLConstants;
+21  import org.opensaml.xml.XMLObject;
+22  import org.opensaml.xml.io.MarshallingException;
+23  import org.opensaml.xml.util.XMLHelper;
+24  import org.w3c.dom.Attr;
+25  import org.w3c.dom.Element;
+26  
+27  /**
+28   * A thread safe Marshaller for {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.DisplayName} objects.
+29   */
+30  public class DisplayNameMarshaller extends LocalizedNameMarshaller {
+31  
+32  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayNameUnmarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayNameUnmarshaller.html new file mode 100644 index 0000000..229b78f --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DisplayNameUnmarshaller.html @@ -0,0 +1,38 @@ + + + + +DisplayNameUnmarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  /**
+20   * A thread-safe unmarshaller for {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.DisplayName} objects.
+21   */
+22  public class DisplayNameUnmarshaller extends LocalizedNameUnmarshaller {
+23  
+24  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHint.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHint.html new file mode 100644 index 0000000..9af8e6e --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHint.html @@ -0,0 +1,69 @@ + + + + +DomainHint xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright [2005] [University Corporation for Advanced Internet Development, Inc.]
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import javax.xml.namespace.QName;
+20  
+21  import org.opensaml.common.SAMLObject;
+22  
+23  /**
+24   * IPHint.
+25   *
+26   * See IdP Discovery and Login UI Metadata Extension Profile.
+27   *
+28   * @author Rod Widdowson August 2010
+29   * 
+30   * The <DomainHint> element specifies a set of DNS domains associated with, 
+31   * or serviced by, the entity. 
+32   */
+33  public interface DomainHint extends SAMLObject {
+34  
+35      /** Element local name. */
+36      public static final String DEFAULT_ELEMENT_LOCAL_NAME = "DomainHint";
+37      
+38      /** Default element name. */
+39      public static final QName DEFAULT_ELEMENT_NAME = new QName(DiscoHints.MDUI_NS, 
+40              DEFAULT_ELEMENT_LOCAL_NAME, DiscoHints.MDUI_PREFIX);
+41      
+42      /**
+43       * Gets the Hint.
+44       * 
+45       * @return the Hint
+46       */
+47      public String getHint();
+48      
+49      /**
+50       * Sets the hint.
+51       * 
+52       * @param newHint hint
+53       */
+54      public void setHint(String newHint);
+55  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHintBuilder.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHintBuilder.html new file mode 100644 index 0000000..09dd715 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHintBuilder.html @@ -0,0 +1,58 @@ + + + + +DomainHintBuilder xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectBuilder;
+20  
+21  /**
+22   * Builder of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.DomainHint} objects.
+23   */
+24  public class DomainHintBuilder extends AbstractSAMLObjectBuilder<DomainHint> {
+25  
+26      /**
+27       * Constructor.
+28       */
+29      public DomainHintBuilder() {
+30  
+31      }
+32  
+33      /** {@inheritDoc} */
+34      public DomainHint buildObject() {
+35          return buildObject(DiscoHints.MDUI_NS, 
+36                             DomainHint.DEFAULT_ELEMENT_LOCAL_NAME, 
+37                             DiscoHints.MDUI_PREFIX);
+38      }
+39  
+40      /** {@inheritDoc} */
+41      public DomainHint buildObject(String namespaceURI, String localName, String namespacePrefix) {
+42          return new DomainHintImpl(namespaceURI, localName, namespacePrefix);
+43      }
+44  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHintImpl.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHintImpl.html new file mode 100644 index 0000000..2103a68 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHintImpl.html @@ -0,0 +1,73 @@ + + + + +DomainHintImpl xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+17  
+18  import java.util.List;
+19  
+20  import org.opensaml.common.impl.AbstractSAMLObject;
+21  import org.opensaml.xml.XMLObject;
+22  
+23  /**
+24   * Concrete implementation of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.DomainHint}.
+25   */
+26  public class DomainHintImpl extends AbstractSAMLObject implements DomainHint{
+27  
+28      /**
+29       * local storage.
+30       */
+31      private String hint;
+32      
+33      /**
+34       * Constructor.
+35       * 
+36       * @param namespaceURI the namespaceURI
+37       * @param elementLocalName the elementLocalName
+38       * @param namespacePrefix the namespacePrefix
+39       */
+40      protected DomainHintImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
+41          super(namespaceURI, elementLocalName, namespacePrefix);
+42      }
+43  
+44      /** {@inheritDoc} */
+45      public String getHint() {
+46          return hint;
+47      }
+48  
+49      /** {@inheritDoc} */
+50      public void setHint(String newHint) {
+51          hint = prepareForAssignment(hint, newHint);
+52      }
+53  
+54      /** {@inheritDoc} */
+55      public List<XMLObject> getOrderedChildren() {
+56          return null;
+57      }
+58  
+59  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHintMarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHintMarshaller.html new file mode 100644 index 0000000..ef9f71e --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHintMarshaller.html @@ -0,0 +1,52 @@ + + + + +DomainHintMarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectMarshaller;
+20  import org.opensaml.xml.XMLObject;
+21  import org.opensaml.xml.io.MarshallingException;
+22  import org.opensaml.xml.util.XMLHelper;
+23  import org.w3c.dom.Element;
+24  
+25  /**
+26   * A thread safe Marshaller for {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.DomainHint} objects.
+27   */
+28  public class DomainHintMarshaller extends AbstractSAMLObjectMarshaller {
+29  
+30      /** {@inheritDoc} */
+31      protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
+32          DomainHint name = (DomainHint) samlObject;
+33  
+34          if (name.getHint() != null) {
+35              XMLHelper.appendTextContent(domElement, name.getHint());
+36          }
+37      }
+38  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHintUnmarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHintUnmarshaller.html new file mode 100644 index 0000000..c518634 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/DomainHintUnmarshaller.html @@ -0,0 +1,52 @@ + + + + +DomainHintUnmarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectUnmarshaller;
+20  import org.opensaml.common.xml.SAMLConstants;
+21  import org.opensaml.saml2.metadata.LocalizedString;
+22  import org.opensaml.xml.LangBearing;
+23  import org.opensaml.xml.XMLObject;
+24  import org.opensaml.xml.io.UnmarshallingException;
+25  import org.w3c.dom.Attr;
+26  
+27  /**
+28   * A thread-safe unmarshaller for {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.DomainHint} objects.
+29   */
+30  public class DomainHintUnmarshaller extends AbstractSAMLObjectUnmarshaller {
+31  
+32      /** {@inheritDoc} */
+33      protected void processElementContent(XMLObject samlObject, String elementContent) {
+34          DomainHint hint = (DomainHint) samlObject;
+35  
+36          hint.setHint(elementContent);
+37      }
+38  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHint.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHint.html new file mode 100644 index 0000000..9d47145 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHint.html @@ -0,0 +1,70 @@ + + + + +GeolocationHint xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright [2005] [University Corporation for Advanced Internet Development, Inc.]
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import javax.xml.namespace.QName;
+20  
+21  import org.opensaml.common.SAMLObject;
+22  
+23  /**
+24   * IPHint.
+25   *
+26   * See IdP Discovery and Login UI Metadata Extension Profile.
+27   *
+28   * @author Rod Widdowson August 2010
+29   * 
+30   * The <GeolocationHint> element specifies the geographic coordinates associated 
+31   *  with, or serviced by, the entity.  Coordinates are given in decimal form using
+32   *  the World Geodetic System (2d) coordinate system.
+33   */
+34  public interface GeolocationHint extends SAMLObject {
+35  
+36      /** Element local name. */
+37      public static final String DEFAULT_ELEMENT_LOCAL_NAME = "GeolocationHint";
+38      
+39      /** Default element name. */
+40      public static final QName DEFAULT_ELEMENT_NAME = new QName(DiscoHints.MDUI_NS, 
+41              DEFAULT_ELEMENT_LOCAL_NAME, DiscoHints.MDUI_PREFIX);
+42      
+43      /**
+44       * Gets the Hint.
+45       * 
+46       * @return the Hint
+47       */
+48      public String getHint();
+49      
+50      /**
+51       * Sets the hint.
+52       * 
+53       * @param newHint hint
+54       */
+55      public void setHint(String newHint);
+56  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHintBuilder.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHintBuilder.html new file mode 100644 index 0000000..583027f --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHintBuilder.html @@ -0,0 +1,58 @@ + + + + +GeolocationHintBuilder xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectBuilder;
+20  
+21  /**
+22   * Builder of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.GeolocationHint} objects.
+23   */
+24  public class GeolocationHintBuilder extends AbstractSAMLObjectBuilder<GeolocationHint> {
+25  
+26      /**
+27       * Constructor.
+28       */
+29      public GeolocationHintBuilder() {
+30  
+31      }
+32  
+33      /** {@inheritDoc} */
+34      public GeolocationHint buildObject() {
+35          return buildObject(DiscoHints.MDUI_NS, 
+36                             GeolocationHint.DEFAULT_ELEMENT_LOCAL_NAME, 
+37                             DiscoHints.MDUI_PREFIX);
+38      }
+39  
+40      /** {@inheritDoc} */
+41      public GeolocationHint buildObject(String namespaceURI, String localName, String namespacePrefix) {
+42          return new GeolocationHintImpl(namespaceURI, localName, namespacePrefix);
+43      }
+44  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHintImpl.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHintImpl.html new file mode 100644 index 0000000..722c539 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHintImpl.html @@ -0,0 +1,76 @@ + + + + +GeolocationHintImpl xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+17  
+18  import java.util.List;
+19  
+20  import org.opensaml.common.impl.AbstractSAMLObject;
+21  import org.opensaml.saml2.metadata.LocalizedString;
+22  import org.opensaml.xml.LangBearing;
+23  import org.opensaml.xml.XMLObject;
+24  import org.opensaml.xml.util.DatatypeHelper;
+25  
+26  /**
+27   * Concrete implementation of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.GeolocationHint}.
+28   */
+29  public class GeolocationHintImpl extends AbstractSAMLObject implements GeolocationHint {
+30  
+31      /**
+32       * local storage.
+33       */
+34      private String hint;
+35      
+36      /**
+37       * Constructor.
+38       * 
+39       * @param namespaceURI the namespaceURI
+40       * @param elementLocalName the elementLocalName
+41       * @param namespacePrefix the namespacePrefix
+42       */
+43      protected GeolocationHintImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
+44          super(namespaceURI, elementLocalName, namespacePrefix);
+45      }
+46  
+47      /** {@inheritDoc} */
+48      public String getHint() {
+49          return hint;
+50      }
+51  
+52      /** {@inheritDoc} */
+53      public void setHint(String newHint) {
+54          hint = prepareForAssignment(hint, newHint);
+55      }
+56  
+57      /** {@inheritDoc} */
+58      public List<XMLObject> getOrderedChildren() {
+59          return null;
+60      }
+61  
+62  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHintMarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHintMarshaller.html new file mode 100644 index 0000000..b8b9b72 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHintMarshaller.html @@ -0,0 +1,52 @@ + + + + +GeolocationHintMarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectMarshaller;
+20  import org.opensaml.xml.XMLObject;
+21  import org.opensaml.xml.io.MarshallingException;
+22  import org.opensaml.xml.util.XMLHelper;
+23  import org.w3c.dom.Element;
+24  
+25  /**
+26   * A thread safe Marshaller for {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.GeolocationHint} objects.
+27   */
+28  public class GeolocationHintMarshaller extends AbstractSAMLObjectMarshaller {
+29  
+30      /** {@inheritDoc} */
+31      protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
+32          GeolocationHint name = (GeolocationHint) samlObject;
+33  
+34          if (name.getHint() != null) {
+35              XMLHelper.appendTextContent(domElement, name.getHint());
+36          }
+37      }
+38  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHintUnmarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHintUnmarshaller.html new file mode 100644 index 0000000..b1f8a24 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/GeolocationHintUnmarshaller.html @@ -0,0 +1,47 @@ + + + + +GeolocationHintUnmarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectUnmarshaller;
+20  import org.opensaml.xml.XMLObject;
+21  
+22  /**
+23   * A thread-safe unmarshaller for {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.GeolocationHint} objects.
+24   */
+25  public class GeolocationHintUnmarshaller extends AbstractSAMLObjectUnmarshaller {
+26  
+27      /** {@inheritDoc} */
+28      protected void processElementContent(XMLObject samlObject, String elementContent) {
+29          GeolocationHint hint = (GeolocationHint) samlObject;
+30  
+31          hint.setHint(elementContent);
+32      }
+33  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHint.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHint.html new file mode 100644 index 0000000..9ec3625 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHint.html @@ -0,0 +1,69 @@ + + + + +IPHint xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright [2005] [University Corporation for Advanced Internet Development, Inc.]
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import javax.xml.namespace.QName;
+20  
+21  import org.opensaml.common.SAMLObject;
+22  
+23  /**
+24   * IPHint.
+25   *
+26   * See IdP Discovery and Login UI Metadata Extension Profile.
+27   *
+28   * @author Rod Widdowson August 2010
+29   * 
+30   * The <IPHint> element specifies a set of [CIDR] blocks associated with, 
+31   *  or serviced by, the entity.  Both IPv4 and IPv6 CIDR blocks MUST be supported.
+32   */
+33  public interface IPHint extends SAMLObject {
+34  
+35      /** Element local name. */
+36      public static final String DEFAULT_ELEMENT_LOCAL_NAME = "IPHint";
+37      
+38      /** Default element name. */
+39      public static final QName DEFAULT_ELEMENT_NAME = new QName(DiscoHints.MDUI_NS, 
+40              DEFAULT_ELEMENT_LOCAL_NAME, DiscoHints.MDUI_PREFIX);
+41      
+42      /**
+43       * Gets the Hint.
+44       * 
+45       * @return the Hint
+46       */
+47      public String getHint();
+48      
+49      /**
+50       * Sets the hint.
+51       * 
+52       * @param newHint hint
+53       */
+54      public void setHint(String newHint);
+55  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHintBuilder.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHintBuilder.html new file mode 100644 index 0000000..c5543ca --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHintBuilder.html @@ -0,0 +1,58 @@ + + + + +IPHintBuilder xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectBuilder;
+20  
+21  /**
+22   * Builder of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.IPHint} objects.
+23   */
+24  public class IPHintBuilder extends AbstractSAMLObjectBuilder<IPHint> {
+25  
+26      /**
+27       * Constructor.
+28       */
+29      public IPHintBuilder() {
+30  
+31      }
+32  
+33      /** {@inheritDoc} */
+34      public IPHint buildObject() {
+35          return buildObject(DiscoHints.MDUI_NS, 
+36                             IPHint.DEFAULT_ELEMENT_LOCAL_NAME, 
+37                             DiscoHints.MDUI_PREFIX);
+38      }
+39  
+40      /** {@inheritDoc} */
+41      public IPHint buildObject(String namespaceURI, String localName, String namespacePrefix) {
+42          return new IPHintImpl(namespaceURI, localName, namespacePrefix);
+43      }
+44  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHintImpl.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHintImpl.html new file mode 100644 index 0000000..fa728e7 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHintImpl.html @@ -0,0 +1,76 @@ + + + + +IPHintImpl xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+17  
+18  import java.util.List;
+19  
+20  import org.opensaml.common.impl.AbstractSAMLObject;
+21  import org.opensaml.saml2.metadata.LocalizedString;
+22  import org.opensaml.xml.LangBearing;
+23  import org.opensaml.xml.XMLObject;
+24  import org.opensaml.xml.util.DatatypeHelper;
+25  
+26  /**
+27   * Concrete implementation of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.IPHint}.
+28   */
+29  public class IPHintImpl extends AbstractSAMLObject implements IPHint {
+30  
+31      /**
+32       * local storage.
+33       */
+34      private String hint;
+35      
+36      /**
+37       * Constructor.
+38       * 
+39       * @param namespaceURI the namespaceURI
+40       * @param elementLocalName the elementLocalName
+41       * @param namespacePrefix the namespacePrefix
+42       */
+43      protected IPHintImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
+44          super(namespaceURI, elementLocalName, namespacePrefix);
+45      }
+46  
+47      /** {@inheritDoc} */
+48      public String getHint() {
+49          return hint;
+50      }
+51  
+52      /** {@inheritDoc} */
+53      public void setHint(String newHint) {
+54          hint = prepareForAssignment(hint, newHint);
+55      }
+56  
+57      /** {@inheritDoc} */
+58      public List<XMLObject> getOrderedChildren() {
+59          return null;
+60      }
+61  
+62  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHintMarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHintMarshaller.html new file mode 100644 index 0000000..b986411 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHintMarshaller.html @@ -0,0 +1,52 @@ + + + + +IPHintMarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectMarshaller;
+20  import org.opensaml.xml.XMLObject;
+21  import org.opensaml.xml.io.MarshallingException;
+22  import org.opensaml.xml.util.XMLHelper;
+23  import org.w3c.dom.Element;
+24  
+25  /**
+26   * A thread safe Marshaller for {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.IPHint} objects.
+27   */
+28  public class IPHintMarshaller extends AbstractSAMLObjectMarshaller {
+29  
+30      /** {@inheritDoc} */
+31      protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
+32          IPHint name = (IPHint) samlObject;
+33  
+34          if (name.getHint() != null) {
+35              XMLHelper.appendTextContent(domElement, name.getHint());
+36          }
+37      }
+38  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHintUnmarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHintUnmarshaller.html new file mode 100644 index 0000000..5d05a26 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/IPHintUnmarshaller.html @@ -0,0 +1,52 @@ + + + + +IPHintUnmarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectUnmarshaller;
+20  import org.opensaml.common.xml.SAMLConstants;
+21  import org.opensaml.saml2.metadata.LocalizedString;
+22  import org.opensaml.xml.LangBearing;
+23  import org.opensaml.xml.XMLObject;
+24  import org.opensaml.xml.io.UnmarshallingException;
+25  import org.w3c.dom.Attr;
+26  
+27  /**
+28   * A thread-safe unmarshaller for {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.IPHint} objects.
+29   */
+30  public class IPHintUnmarshaller extends AbstractSAMLObjectUnmarshaller {
+31  
+32      /** {@inheritDoc} */
+33      protected void processElementContent(XMLObject samlObject, String elementContent) {
+34          IPHint hint = (IPHint) samlObject;
+35  
+36          hint.setHint(elementContent);
+37      }
+38  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURL.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURL.html new file mode 100644 index 0000000..906c0a1 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURL.html @@ -0,0 +1,70 @@ + + + + +InformationURL xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import javax.xml.namespace.QName;
+20  
+21  import org.opensaml.common.SAMLObject;
+22  import org.opensaml.saml2.metadata.LocalizedString;
+23  
+24  /**
+25   * InformationURL.
+26   *
+27   * See IdP Discovery and Login UI Metadata Extension Profile.
+28   *
+29   * @author Rod Widdowson August 2010
+30   * 
+31   * Reflects the InformationURL in the IdP Discovery and Login UI Metadata Extension Profile.
+32   * 
+33   */
+34  public interface InformationURL extends LocalizedURI {
+35  
+36      /** Element local name. */
+37      public static final String DEFAULT_ELEMENT_LOCAL_NAME = "InformationURL";
+38      
+39      /** Default element name. */
+40      public static final QName DEFAULT_ELEMENT_NAME = new QName(DiscoHints.MDUI_NS, 
+41              DEFAULT_ELEMENT_LOCAL_NAME, DiscoHints.MDUI_PREFIX);
+42      
+43      /**
+44       * Gets the InformationURL of the EndPoint.
+45       * 
+46       * @return the InformationURL of the EndPoint
+47       */
+48      public LocalizedString getURL();
+49      
+50      /**
+51       * Sets the InformationURL of the EndPoint.
+52       * 
+53       * @param newName InformationURL of the EndPoint
+54       */
+55      public void setURL(LocalizedString newName);
+56  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURLBuilder.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURLBuilder.html new file mode 100644 index 0000000..e71da9f --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURLBuilder.html @@ -0,0 +1,58 @@ + + + + +InformationURLBuilder xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectBuilder;
+20  
+21  /**
+22   * Builder of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.InformationURL} objects.
+23   * @author Rod Widdowson
+24   */
+25  public class InformationURLBuilder extends AbstractSAMLObjectBuilder<InformationURL> {
+26      /**
+27       * Constructor.
+28       */
+29      public InformationURLBuilder() {
+30  
+31      }
+32  
+33      /** {@inheritDoc} */
+34      public InformationURL buildObject() {
+35          return buildObject(UIInfo.MDUI_NS, 
+36                             InformationURL.DEFAULT_ELEMENT_LOCAL_NAME, 
+37                             UIInfo.MDUI_PREFIX);
+38      }
+39  
+40      /** {@inheritDoc} */
+41      public InformationURL buildObject(String namespaceURI, String localName, String namespacePrefix) {
+42          return new InformationURLImpl(namespaceURI, localName, namespacePrefix);
+43      }
+44  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURLImpl.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURLImpl.html new file mode 100644 index 0000000..970eaa1 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURLImpl.html @@ -0,0 +1,68 @@ + + + + +InformationURLImpl xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import java.util.List;
+20  
+21  import org.opensaml.common.impl.AbstractSAMLObject;
+22  import org.opensaml.saml2.metadata.LocalizedString;
+23  import org.opensaml.xml.LangBearing;
+24  import org.opensaml.xml.XMLObject;
+25  import org.opensaml.xml.util.DatatypeHelper;
+26  
+27  /**
+28   * Concrete implementation of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.InformationURL}.
+29   * @author Rod Widdowson
+30   */
+31  
+32  public class InformationURLImpl extends LocalizedURIImpl implements InformationURL {
+33  
+34      /**
+35       * Constructor.
+36       * 
+37       * @param namespaceURI the namespaceURI
+38       * @param elementLocalName the elementLocalName
+39       * @param namespacePrefix the namespacePrefix
+40       */
+41      protected InformationURLImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
+42          super(namespaceURI, elementLocalName, namespacePrefix);
+43      }
+44  
+45      /** {@inheritDoc} */
+46      public LocalizedString getURL() {
+47          return getURL();
+48      }
+49  
+50      /** {@inheritDoc} */
+51      public void setURL(LocalizedString newInformationURL) {
+52          setURL(newInformationURL);
+53      }
+54  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURLMarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURLMarshaller.html new file mode 100644 index 0000000..226e64b --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURLMarshaller.html @@ -0,0 +1,38 @@ + + + + +InformationURLMarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  
+20  /**
+21   * A thread safe Marshaller for {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.InformationURL} objects.
+22   */
+23  public class InformationURLMarshaller extends LocalizedURIMarshaller {
+24  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURLUnmarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURLUnmarshaller.html new file mode 100644 index 0000000..b058ebc --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/InformationURLUnmarshaller.html @@ -0,0 +1,37 @@ + + + + +InformationURLUnmarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  /**
+20   * A thread-safe unmarshaller for {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.InformationURL} objects.
+21   */
+22  public class InformationURLUnmarshaller extends LocalizedURIUnmarshaller {
+23  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedName.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedName.html new file mode 100644 index 0000000..ad8e7da --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedName.html @@ -0,0 +1,58 @@ + + + + +LocalizedName xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright [2005] [University Corporation for Advanced Internet Development, Inc.]
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.SAMLObject;
+20  import org.opensaml.saml2.metadata.LocalizedString;
+21  import org.opensaml.xml.LangBearing;
+22  
+23  /**
+24   * LocalizedName.
+25   */
+26  public interface LocalizedName extends SAMLObject, LangBearing {
+27  
+28      /** Local name of the XSI type. */
+29      public static final String TYPE_LOCAL_NAME = "localizedNameType"; 
+30          
+31      /**
+32       * Gets the name.
+33       * 
+34       * @return the name
+35       */
+36      public LocalizedString getName();
+37      
+38      /**
+39       * Sets the  name.
+40       * 
+41       * @param newName new name
+42       */
+43      public void setName(LocalizedString newName);
+44  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedNameImpl.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedNameImpl.html new file mode 100644 index 0000000..a648211 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedNameImpl.html @@ -0,0 +1,89 @@ + + + + +LocalizedNameImpl xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+17  
+18  import java.util.List;
+19  
+20  import org.opensaml.common.impl.AbstractSAMLObject;
+21  import org.opensaml.saml2.metadata.LocalizedString;
+22  import org.opensaml.xml.LangBearing;
+23  import org.opensaml.xml.XMLObject;
+24  import org.opensaml.xml.util.DatatypeHelper;
+25  
+26  /**
+27   * Concrete implementation of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.LocalizedName}.
+28   */
+29  public class LocalizedNameImpl extends AbstractSAMLObject implements LocalizedName {
+30  
+31      /** Display name. */
+32      private LocalizedString name;
+33  
+34      /**
+35       * Constructor.
+36       * 
+37       * @param namespaceURI the namespaceURI
+38       * @param elementLocalName the elementLocalName
+39       * @param namespacePrefix the namespacePrefix
+40       */
+41      protected LocalizedNameImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
+42          super(namespaceURI, elementLocalName, namespacePrefix);
+43      }
+44  
+45      /** {@inheritDoc} */
+46      public LocalizedString getName() {
+47          return name;
+48      }
+49  
+50      /** {@inheritDoc} */
+51      public void setName(LocalizedString newName) {
+52          name = prepareForAssignment(name, newName);
+53          boolean hasXMLLang = false;
+54          if (name != null && !DatatypeHelper.isEmpty(name.getLanguage())) {
+55              hasXMLLang = true;
+56          }
+57          manageQualifiedAttributeNamespace(LangBearing.XML_LANG_ATTR_NAME, hasXMLLang);
+58      }
+59  
+60      /** {@inheritDoc} */
+61      public String getXMLLang() {
+62          return name.getLanguage();
+63      }
+64  
+65      /** {@inheritDoc} */
+66      public void setXMLLang(String newLang) {
+67          name.setLanguage(newLang);
+68      }
+69  
+70      /** {@inheritDoc} */
+71      public List<XMLObject> getOrderedChildren() {
+72          return null;
+73      }
+74  
+75  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedNameMarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedNameMarshaller.html new file mode 100644 index 0000000..014a91d --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedNameMarshaller.html @@ -0,0 +1,69 @@ + + + + +LocalizedNameMarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectMarshaller;
+20  import org.opensaml.common.xml.SAMLConstants;
+21  import org.opensaml.xml.LangBearing;
+22  import org.opensaml.xml.XMLObject;
+23  import org.opensaml.xml.io.MarshallingException;
+24  import org.opensaml.xml.util.XMLHelper;
+25  import org.w3c.dom.Attr;
+26  import org.w3c.dom.Element;
+27  
+28  /**
+29   * A thread safe Marshaller for {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.LocalizedName} objects.
+30   */
+31  public class LocalizedNameMarshaller extends AbstractSAMLObjectMarshaller {
+32  
+33      /**
+34       * {@inheritDoc}
+35       */
+36      protected void marshallAttributes(XMLObject samlObject, Element domElement) throws MarshallingException {
+37          LocalizedName name = (LocalizedName) samlObject;
+38  
+39          if (name.getName() != null) {
+40              Attr attribute = XMLHelper.constructAttribute(domElement.getOwnerDocument(), SAMLConstants.XML_NS,
+41                      LangBearing.XML_LANG_ATTR_LOCAL_NAME, SAMLConstants.XML_PREFIX);
+42              attribute.setValue(name.getName().getLanguage());
+43              domElement.setAttributeNodeNS(attribute);
+44          }
+45      }
+46  
+47      /** {@inheritDoc} */
+48      protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
+49          LocalizedName name = (LocalizedName) samlObject;
+50  
+51          if (name.getName() != null) {
+52              XMLHelper.appendTextContent(domElement, name.getName().getLocalString());
+53          }
+54      }
+55  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedNameUnmarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedNameUnmarshaller.html new file mode 100644 index 0000000..04d0775 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedNameUnmarshaller.html @@ -0,0 +1,76 @@ + + + + +LocalizedNameUnmarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectUnmarshaller;
+20  import org.opensaml.common.xml.SAMLConstants;
+21  import org.opensaml.saml2.metadata.LocalizedString;
+22  import org.opensaml.xml.LangBearing;
+23  import org.opensaml.xml.XMLObject;
+24  import org.opensaml.xml.io.UnmarshallingException;
+25  import org.w3c.dom.Attr;
+26  
+27  /**
+28   * A thread-safe unmarshaller for {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.LocalizedName} objects.
+29   */
+30  public class LocalizedNameUnmarshaller extends AbstractSAMLObjectUnmarshaller {
+31  
+32      /**
+33       * {@inheritDoc}
+34       */
+35      protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException {
+36          if (attribute.getLocalName().equals(LangBearing.XML_LANG_ATTR_LOCAL_NAME)
+37                  && SAMLConstants.XML_NS.equals(attribute.getNamespaceURI())) {
+38              LocalizedName name = (LocalizedName) samlObject;
+39  
+40              LocalizedString nameStr = name.getName();
+41              if (nameStr == null) {
+42                  nameStr = new LocalizedString();
+43              }
+44  
+45              nameStr.setLanguage(attribute.getValue());
+46              name.setName(nameStr);
+47          }
+48      }
+49  
+50      /** {@inheritDoc} */
+51      protected void processElementContent(XMLObject samlObject, String elementContent) {
+52          LocalizedName name = (LocalizedName) samlObject;
+53  
+54          LocalizedString nameStr = name.getName();
+55          if (nameStr == null) {
+56              nameStr = new LocalizedString();
+57          }
+58  
+59          nameStr.setLocalizedString(elementContent);
+60          name.setName(nameStr);
+61      }
+62  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedURI.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedURI.html new file mode 100644 index 0000000..80cb67a --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedURI.html @@ -0,0 +1,58 @@ + + + + +LocalizedURI xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright [2005] [University Corporation for Advanced Internet Development, Inc.]
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.SAMLObject;
+20  import org.opensaml.saml2.metadata.LocalizedString;
+21  import org.opensaml.xml.LangBearing;
+22  
+23  /**
+24   * LocalizedURI.
+25   */
+26  public interface LocalizedURI extends SAMLObject, LangBearing {
+27  
+28      /** Local name of the XSI type. */
+29      public static final String TYPE_LOCAL_NAME = "localizedURIType"; 
+30          
+31      /**
+32       * Gets the URI.
+33       * 
+34       * @return the URI
+35       */
+36      public LocalizedString getURI();
+37      
+38      /**
+39       * Sets the URI.
+40       * 
+41       * @param newURI the new value
+42       */
+43      public void setURI(LocalizedString newURI);
+44  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedURIImpl.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedURIImpl.html new file mode 100644 index 0000000..f895231 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedURIImpl.html @@ -0,0 +1,89 @@ + + + + +LocalizedURIImpl xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+17  
+18  import java.util.List;
+19  
+20  import org.opensaml.common.impl.AbstractSAMLObject;
+21  import org.opensaml.saml2.metadata.LocalizedString;
+22  import org.opensaml.xml.LangBearing;
+23  import org.opensaml.xml.XMLObject;
+24  import org.opensaml.xml.util.DatatypeHelper;
+25  
+26  /**
+27   * Concrete implementation of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.LocalizedURI}.
+28   */
+29  public class LocalizedURIImpl extends AbstractSAMLObject implements LocalizedURI{
+30  
+31      /** Display name. */
+32      private LocalizedString uri;
+33  
+34      /**
+35       * Constructor.
+36       * 
+37       * @param namespaceURI the namespaceURI
+38       * @param elementLocalName the elementLocalName
+39       * @param namespacePrefix the namespacePrefix
+40       */
+41      protected LocalizedURIImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
+42          super(namespaceURI, elementLocalName, namespacePrefix);
+43      }
+44  
+45      /** {@inheritDoc} */
+46      public LocalizedString getURI() {
+47          return uri;
+48      }
+49  
+50      /** {@inheritDoc} */
+51      public void setURI(LocalizedString newURI) {
+52          uri = prepareForAssignment(uri, newURI);
+53          boolean hasXMLLang = false;
+54          if (uri != null && !DatatypeHelper.isEmpty(uri.getLanguage())) {
+55              hasXMLLang = true;
+56          }
+57          manageQualifiedAttributeNamespace(LangBearing.XML_LANG_ATTR_NAME, hasXMLLang);
+58      }
+59  
+60      /** {@inheritDoc} */
+61      public String getXMLLang() {
+62          return uri.getLanguage();
+63      }
+64  
+65      /** {@inheritDoc} */
+66      public void setXMLLang(String newLang) {
+67          uri.setLanguage(newLang);
+68      }
+69  
+70      /** {@inheritDoc} */
+71      public List<XMLObject> getOrderedChildren() {
+72          return null;
+73      }
+74  
+75  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedURIMarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedURIMarshaller.html new file mode 100644 index 0000000..af491a4 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedURIMarshaller.html @@ -0,0 +1,69 @@ + + + + +LocalizedURIMarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectMarshaller;
+20  import org.opensaml.common.xml.SAMLConstants;
+21  import org.opensaml.xml.LangBearing;
+22  import org.opensaml.xml.XMLObject;
+23  import org.opensaml.xml.io.MarshallingException;
+24  import org.opensaml.xml.util.XMLHelper;
+25  import org.w3c.dom.Attr;
+26  import org.w3c.dom.Element;
+27  
+28  /**
+29   * A thread safe Marshaller for {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.LocalizedURI} objects.
+30   */
+31  public class LocalizedURIMarshaller extends AbstractSAMLObjectMarshaller {
+32  
+33      /**
+34       * {@inheritDoc}
+35       */
+36      protected void marshallAttributes(XMLObject samlObject, Element domElement) throws MarshallingException {
+37          LocalizedURI name = (LocalizedURI) samlObject;
+38  
+39          if (name.getURI() != null) {
+40              Attr attribute = XMLHelper.constructAttribute(domElement.getOwnerDocument(), SAMLConstants.XML_NS,
+41                      LangBearing.XML_LANG_ATTR_LOCAL_NAME, SAMLConstants.XML_PREFIX);
+42              attribute.setValue(name.getURI().getLanguage());
+43              domElement.setAttributeNodeNS(attribute);
+44          }
+45      }
+46  
+47      /** {@inheritDoc} */
+48      protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
+49          LocalizedURI name = (LocalizedURI) samlObject;
+50  
+51          if (name.getURI() != null) {
+52              XMLHelper.appendTextContent(domElement, name.getURI().getLocalString());
+53          }
+54      }
+55  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedURIUnmarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedURIUnmarshaller.html new file mode 100644 index 0000000..32d30bb --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LocalizedURIUnmarshaller.html @@ -0,0 +1,76 @@ + + + + +LocalizedURIUnmarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectUnmarshaller;
+20  import org.opensaml.common.xml.SAMLConstants;
+21  import org.opensaml.saml2.metadata.LocalizedString;
+22  import org.opensaml.xml.LangBearing;
+23  import org.opensaml.xml.XMLObject;
+24  import org.opensaml.xml.io.UnmarshallingException;
+25  import org.w3c.dom.Attr;
+26  
+27  /**
+28   * A thread-safe unmarshaller for {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.LocalURI} objects.
+29   */
+30  public class LocalizedURIUnmarshaller extends AbstractSAMLObjectUnmarshaller {
+31  
+32      /**
+33       * {@inheritDoc}
+34       */
+35      protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException {
+36          if (attribute.getLocalName().equals(LangBearing.XML_LANG_ATTR_LOCAL_NAME)
+37                  && SAMLConstants.XML_NS.equals(attribute.getNamespaceURI())) {
+38              LocalizedURI uri = (LocalizedURI) samlObject;
+39  
+40              LocalizedString uriStr = uri.getURI();
+41              if (uriStr == null) {
+42                  uriStr = new LocalizedString();
+43              }
+44  
+45              uriStr.setLanguage(attribute.getValue());
+46              uri.setURI(uriStr);
+47          }
+48      }
+49  
+50      /** {@inheritDoc} */
+51      protected void processElementContent(XMLObject samlObject, String elementContent) {
+52          LocalizedURI uri = (LocalizedURI) samlObject;
+53  
+54          LocalizedString uriStr = uri.getURI();
+55          if (uriStr == null) {
+56              uriStr = new LocalizedString();
+57          }
+58  
+59          uriStr.setLocalizedString(elementContent);
+60          uri.setURI(uriStr);
+61      }
+62  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/Logo.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/Logo.html new file mode 100644 index 0000000..4d063fb --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/Logo.html @@ -0,0 +1,99 @@ + + + + +Logo xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import javax.xml.namespace.QName;
+20  
+21  import org.opensaml.common.SAMLObject;
+22  import org.opensaml.saml2.metadata.LocalizedString;
+23  import org.opensaml.xml.LangBearing;
+24  
+25  /**
+26   * Localized logo type.
+27   * 
+28   * 
+29   * @author RDW 27/Aug/2010
+30   * 
+31   * See IdP Discovery and Login UI Metadata Extension Profile.
+32   *  
+33   */
+34  public interface Logo extends LangBearing, SAMLObject {
+35  
+36      /** Element local name. */
+37      public static final String DEFAULT_ELEMENT_LOCAL_NAME = "Logo";
+38      
+39      /** Default element name. */
+40      public static final QName DEFAULT_ELEMENT_NAME = new QName(UIInfo.MDUI_NS, 
+41              DEFAULT_ELEMENT_LOCAL_NAME, UIInfo.MDUI_PREFIX);
+42      
+43      public static final String HEIGHT_ATTR_NAME = "height";
+44  
+45      public static final String WIDTH_ATTR_NAME = "width";
+46  
+47  
+48      /**
+49       * Gets the URL.
+50       * 
+51       * @return the URL
+52       */
+53      public LocalizedString getURL();
+54      
+55      /**
+56       * Sets the URL.
+57       * 
+58       * @param newURL the URL
+59       */
+60      public void setURL(LocalizedString newURL);
+61  
+62      /**
+63       * Get the height of the logo.
+64       * @return the height of the logo
+65       */
+66      public Integer getHeight();
+67      
+68      /**
+69       * Sets the height of the logo.
+70       * @param newHeight the height of the logo
+71       */
+72      public void setHeight(Integer newHeight);
+73  
+74      /**
+75       * Get the width of the logo.
+76       * @return the width of the logo
+77       */
+78      public Integer getWidth();
+79      
+80      /**
+81       * Sets the width of the logo.
+82       * @param newWidth the height of the logo
+83       */
+84      public void setWidth(Integer newWidth);
+85  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LogoBuilder.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LogoBuilder.html new file mode 100644 index 0000000..9ef049e --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LogoBuilder.html @@ -0,0 +1,58 @@ + + + + +LogoBuilder xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectBuilder;
+20  
+21  /**
+22   * Builder of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.Logo} objects.
+23   */
+24  public class LogoBuilder extends AbstractSAMLObjectBuilder<Logo> {
+25  
+26      /**
+27       * Constructor.
+28       */
+29      public LogoBuilder() {
+30  
+31      }
+32  
+33      /** {@inheritDoc} */
+34      public Logo buildObject() {
+35          return buildObject(UIInfo.MDUI_NS, 
+36                             Logo.DEFAULT_ELEMENT_LOCAL_NAME, 
+37                             UIInfo.MDUI_PREFIX);
+38      }
+39  
+40      /** {@inheritDoc} */
+41      public Logo buildObject(String namespaceURI, String localName, String namespacePrefix) {
+42          return new LogoImpl(namespaceURI, localName, namespacePrefix);
+43      }
+44  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LogoImpl.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LogoImpl.html new file mode 100644 index 0000000..9a9c42d --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LogoImpl.html @@ -0,0 +1,123 @@ + + + + +LogoImpl xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import java.util.List;
+20  
+21  import org.opensaml.common.impl.AbstractSAMLObject;
+22  import org.opensaml.saml2.metadata.LocalizedString;
+23  import org.opensaml.xml.XMLObject;
+24  
+25  /**
+26   * Concrete implementation of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.Logo}.
+27   * @author rod widdowson
+28   */
+29  public class LogoImpl extends AbstractSAMLObject implements Logo {
+30      
+31      /** Logo URL. */
+32      private LocalizedString localizedURL;
+33  
+34      /** X-Dimension of the logo. */
+35      private Integer width;
+36  
+37      /** Y-Dimension of the logo. */
+38      private Integer height;
+39  
+40      /**
+41       * Constructor.
+42       * 
+43       * @param namespaceURI namespaceURI
+44       * @param elementLocalName elementLocalName
+45       * @param namespacePrefix namespacePrefix
+46       */
+47      protected LogoImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
+48          super(namespaceURI, elementLocalName, namespacePrefix);
+49      }
+50  
+51  
+52      /** {@inheritDoc} */
+53      public Integer getHeight() {
+54          return height;
+55      }
+56  
+57      /** {@inheritDoc} */
+58      public void setHeight(Integer newHeight) {
+59           height = prepareForAssignment(height, newHeight);
+60      }
+61  
+62      /** {@inheritDoc} */
+63      public Integer getWidth() {
+64          return width;
+65      }
+66  
+67      /** {@inheritDoc} */
+68      public void setWidth(Integer newWidth) {
+69          width = prepareForAssignment(width, newWidth);
+70      }
+71  
+72      /** {@inheritDoc} */
+73      public LocalizedString getURL() {
+74          return localizedURL;
+75      }
+76  
+77      /** {@inheritDoc} */
+78      public void setURL(LocalizedString newURL) {
+79          localizedURL = newURL;
+80      }
+81  
+82      /** {@inheritDoc} */
+83      public String getXMLLang() {
+84          localizedURL.getLanguage();
+85          return null;
+86      }
+87  
+88  
+89      /** {@inheritDoc} */
+90      public void setXMLLang(String newLang) {
+91          localizedURL.setLanguage(newLang);
+92      }
+93  
+94      /** {@inheritDoc} */
+95      public List<XMLObject> getOrderedChildren() {
+96          return null;
+97      }
+98  
+99      /**
+100      * {@inheritDoc}
+101      */
+102     public int hashCode() {
+103         int hash = 1;
+104         hash = hash * 31 + localizedURL.hashCode();
+105         hash = hash * 31 + height;
+106         hash = hash * 31 + width;
+107         return hash;
+108     }
+109 }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LogoMarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LogoMarshaller.html new file mode 100644 index 0000000..518959b --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LogoMarshaller.html @@ -0,0 +1,75 @@ + + + + +LogoMarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectMarshaller;
+20  import org.opensaml.common.xml.SAMLConstants;
+21  import org.opensaml.xml.LangBearing;
+22  import org.opensaml.xml.XMLObject;
+23  import org.opensaml.xml.io.MarshallingException;
+24  import org.opensaml.xml.util.XMLHelper;
+25  import org.w3c.dom.Attr;
+26  import org.w3c.dom.Element;
+27  
+28  /**
+29   * A thread safe Marshaller for {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.Logo} objects.
+30   */
+31  public class LogoMarshaller extends AbstractSAMLObjectMarshaller {
+32  
+33      /**
+34       * {@inheritDoc}
+35       */
+36      protected void marshallAttributes(XMLObject samlObject, Element domElement) throws MarshallingException {
+37          Logo logo = (Logo) samlObject;
+38  
+39          if (logo.getXMLLang() != null) {
+40              Attr attribute = XMLHelper.constructAttribute(domElement.getOwnerDocument(), SAMLConstants.XML_NS,
+41                      LangBearing.XML_LANG_ATTR_LOCAL_NAME, SAMLConstants.XML_PREFIX);
+42              attribute.setValue(logo.getXMLLang());
+43              domElement.setAttributeNodeNS(attribute);
+44          }
+45          if (logo.getHeight() != null) {
+46              domElement.setAttributeNS(null, Logo.HEIGHT_ATTR_NAME, logo.getHeight().toString());
+47          }
+48          if (logo.getWidth() != null) {
+49              domElement.setAttributeNS(null, Logo.WIDTH_ATTR_NAME, logo.getWidth().toString());
+50          }
+51      }
+52  
+53      /** {@inheritDoc} */
+54      protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
+55          Logo logo = (Logo) samlObject;
+56  
+57          if (logo.getURL() != null) {
+58              XMLHelper.appendTextContent(domElement, logo.getURL().getLocalString());
+59          }
+60      }
+61  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LogoUnmarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LogoUnmarshaller.html new file mode 100644 index 0000000..50dedc1 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/LogoUnmarshaller.html @@ -0,0 +1,81 @@ + + + + +LogoUnmarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectUnmarshaller;
+20  import org.opensaml.common.xml.SAMLConstants;
+21  import org.opensaml.saml2.metadata.LocalizedString;
+22  import org.opensaml.xml.LangBearing;
+23  import org.opensaml.xml.XMLObject;
+24  import org.opensaml.xml.io.UnmarshallingException;
+25  import org.w3c.dom.Attr;
+26  
+27  /**
+28   * A thread-safe Unmarshaller for {@link org.opensaml.saml2.metadata.Logo} objects.
+29   */
+30  public class LogoUnmarshaller extends AbstractSAMLObjectUnmarshaller {
+31  
+32      
+33      /** {@inheritDoc} */
+34      protected void processElementContent(XMLObject samlObject, String elementContent) {
+35          Logo logo = (Logo) samlObject;
+36  
+37          LocalizedString url = logo.getURL();
+38          if (url == null) {
+39              url = new LocalizedString();
+40          }
+41  
+42          url.setLocalizedString(elementContent);
+43          logo.setURL(url);
+44      }
+45      
+46      /**  {@inheritDoc} */
+47      protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException {
+48          Logo logo = (Logo) samlObject;
+49  
+50          if (attribute.getLocalName().equals(LangBearing.XML_LANG_ATTR_LOCAL_NAME)
+51                  && SAMLConstants.XML_NS.equals(attribute.getNamespaceURI())) {
+52  
+53              LocalizedString url = logo.getURL();
+54              if (url == null) {
+55                  url = new LocalizedString();
+56              }
+57  
+58              url.setLanguage(attribute.getValue());
+59              logo.setURL(url);
+60          } else if (attribute.getLocalName().equals(Logo.HEIGHT_ATTR_NAME)) {
+61              logo.setHeight(Integer.valueOf(attribute.getValue()));
+62          } else if (attribute.getLocalName().equals(Logo.WIDTH_ATTR_NAME)) {
+63              logo.setWidth(Integer.valueOf(attribute.getValue()));
+64          }
+65      }
+66  
+67  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURL.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURL.html new file mode 100644 index 0000000..0b74910 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURL.html @@ -0,0 +1,70 @@ + + + + +PrivacyStatementURL xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import javax.xml.namespace.QName;
+20  
+21  import org.opensaml.common.SAMLObject;
+22  import org.opensaml.saml2.metadata.LocalizedString;
+23  
+24  /**
+25   * PrivacyStatementURL.
+26   *
+27   * See IdP Discovery and Login UI Metadata Extension Profile.
+28   *
+29   * @author Rod Widdowson August 2010
+30   * 
+31   * Reflects the PrivacyStatementURL in the IdP Discovery and Login UI Metadata Extension Profile.
+32   * 
+33   */
+34  public interface PrivacyStatementURL extends LocalizedURI {
+35      
+36      /** Element local name. */
+37      public static final String DEFAULT_ELEMENT_LOCAL_NAME = "PrivacyStatementURL";
+38      
+39      /** Default element name. */
+40      public static final QName DEFAULT_ELEMENT_NAME = new QName(UIInfo.MDUI_NS, 
+41              DEFAULT_ELEMENT_LOCAL_NAME, UIInfo.MDUI_PREFIX);
+42      
+43      /**
+44       * Gets the PrivacyStatementURL of the EndPoint.
+45       * 
+46       * @return the PrivacyStatementURL of the EndPoint
+47       */
+48      public LocalizedString getURL();
+49      
+50      /**
+51       * Sets the PrivacyStatementURL of the EndPoint.
+52       * 
+53       * @param newName PrivacyStatementURL of the EndPoint
+54       */
+55      public void setURL(LocalizedString newName);
+56  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURLBuilder.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURLBuilder.html new file mode 100644 index 0000000..fe459a9 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURLBuilder.html @@ -0,0 +1,60 @@ + + + + +PrivacyStatementURLBuilder xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectBuilder;
+20  
+21  
+22  /**
+23   * Builder of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.PrivacyStatementURL} objects.
+24   * @author Rod Widdowson
+25   */
+26  public class PrivacyStatementURLBuilder extends AbstractSAMLObjectBuilder<PrivacyStatementURL> {
+27  
+28      /**
+29       * Constructor.
+30       */
+31      public PrivacyStatementURLBuilder() {
+32  
+33      }
+34  
+35      /** {@inheritDoc} */
+36      public PrivacyStatementURL buildObject() {
+37          return buildObject(UIInfo.MDUI_NS, 
+38                             PrivacyStatementURL.DEFAULT_ELEMENT_LOCAL_NAME, 
+39                             UIInfo.MDUI_PREFIX);
+40      }
+41  
+42      /** {@inheritDoc} */
+43      public PrivacyStatementURL buildObject(String namespaceURI, String localName, String namespacePrefix) {
+44          return new PrivacyStatementURLImpl(namespaceURI, localName, namespacePrefix);
+45      }
+46  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURLImpl.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURLImpl.html new file mode 100644 index 0000000..8102468 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURLImpl.html @@ -0,0 +1,72 @@ + + + + +PrivacyStatementURLImpl xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import java.util.List;
+20  
+21  import org.opensaml.common.impl.AbstractSAMLObject;
+22  import org.opensaml.saml2.metadata.LocalizedString;
+23  import org.opensaml.xml.LangBearing;
+24  import org.opensaml.xml.XMLObject;
+25  import org.opensaml.xml.util.DatatypeHelper;
+26  
+27  
+28  /**
+29   * Concrete implementation of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.PrivacyStatementURL}.
+30   * @author Rod Widdowson
+31   */
+32  
+33  public class PrivacyStatementURLImpl extends LocalizedURIImpl implements PrivacyStatementURL {
+34  
+35      /**
+36       * Constructor.
+37       * 
+38       * @param namespaceURI the namespaceURI
+39       * @param elementLocalName the elementLocalName
+40       * @param namespacePrefix the namespacePrefix
+41       */
+42      protected PrivacyStatementURLImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
+43          super(namespaceURI, elementLocalName, namespacePrefix);
+44      }
+45  
+46      /** {@inheritDoc} */
+47      public LocalizedString getURL() {
+48          return getURI();
+49      }
+50  
+51      /** {@inheritDoc} */
+52      public void setURL(LocalizedString newPrivacyURL) {
+53          setURI(newPrivacyURL);
+54      }
+55  
+56  
+57  
+58  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURLMarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURLMarshaller.html new file mode 100644 index 0000000..7675d8a --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURLMarshaller.html @@ -0,0 +1,38 @@ + + + + +PrivacyStatementURLMarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  
+20  /**
+21   * A thread safe Marshaller for {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.PrivacyStatementURL} objects.
+22   */
+23  public class PrivacyStatementURLMarshaller extends LocalizedURIMarshaller {
+24  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURLUnmarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURLUnmarshaller.html new file mode 100644 index 0000000..0ad80df --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/PrivacyStatementURLUnmarshaller.html @@ -0,0 +1,38 @@ + + + + +PrivacyStatementURLUnmarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  
+20  /**
+21   * A thread-safe unmarshaller for {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.PrivacyStatementURL} objects.
+22   */
+23  public class PrivacyStatementURLUnmarshaller extends LocalizedURIUnmarshaller {
+24  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfo.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfo.html new file mode 100644 index 0000000..d544d37 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfo.html @@ -0,0 +1,119 @@ + + + + +UIInfo xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import java.util.List;
+20  
+21  import javax.xml.namespace.QName;
+22  
+23  import org.opensaml.common.SAMLObject;
+24  
+25  /**
+26   * See IdP Discovery and Login UI Metadata Extension Profile.
+27   *
+28   * @author Rod Widdowson August 2010
+29   * 
+30   * Reflects the UINFO in the IdP Discovery and Login UI Metadata Extension Profile,
+31   *
+32   */
+33  public interface UIInfo extends SAMLObject {
+34      /** Namespace for Discovery Service metadata extensions. */
+35      public static final String MDUI_NS = "urn:oasis:names:tc:SAML:metadata:ui";
+36  
+37      /** Default namespace prefix used by this library. */
+38      public static final String  MDUI_PREFIX = "mdui";
+39  
+40      /** Name of the element inside the Extensions. */
+41      public static final String DEFAULT_ELEMENT_LOCAL_NAME = "UIInfo";
+42  
+43      /** Default element name. */
+44      public static final QName DEFAULT_ELEMENT_NAME = new QName(MDUI_NS, DEFAULT_ELEMENT_LOCAL_NAME,
+45              MDUI_PREFIX);
+46      
+47      /** Language attribute name. */
+48      public static final String LANG_ATTRIB_NAME = "lang";
+49      
+50      /** 
+51       * Get the Display Names
+52       * 
+53       * The <DisplayName> element specifies a set of localized names fit for 
+54       * display to users.  Such names are meant to allow a user to distinguish 
+55       * and identify the entity acting in a particular role.
+56       * @return the names
+57       */
+58      public List <DisplayName> getDisplayNames();
+59      
+60      /**
+61       * Return the descriptions.
+62       * 
+63       * The <Description> element specifies a set of brief, localized descriptions 
+64       * fit for display to users. In the case of service providers this SHOULD be a 
+65       * description of the service being offered.  In the case of an identity provider 
+66       * this SHOULD be a description of the community serviced.  In all cases this text 
+67       * SHOULD be standalone, meaning it is not meant to be filled in to some template 
+68       * text (e.g. 'This service offers $description').
+69       * @return descriptions
+70       */
+71      public List <Description> getDescriptions();
+72      
+73      /** 
+74       * Get the logos.
+75       * 
+76       * The <Logo> element specifies a set of localized logos fit for display to users.
+77       *  
+78       * @return a list of logos
+79       */
+80      public List <Logo> getLogos();
+81      
+82      /** 
+83       * Get the URLs.
+84       * 
+85       * The <InformationURL> specifies URLs to localized information, about the entity 
+86       * acting in a given role, meant to be viewed by users.  The contents found at 
+87       * these URLs SHOULD give a more complete set of information about than what is 
+88       * provided by the <Description> element 
+89       * 
+90       * @return the URLs
+91       */
+92      public List <InformationURL> getInformationURLs();
+93      
+94      /**
+95       * Get the Privacy Statement URLs.
+96       * 
+97       * The <PrivacyStatementURL> specifies URLs to localized privacy statements.  
+98       * Such statements are meant to provide a user with information about how 
+99       * information will be used and managed by the entity
+100      * 
+101      * @return the URLs
+102      */
+103     public List <PrivacyStatementURL> getPrivacyStatementURLs(); 
+104 
+105 }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfoBuilder.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfoBuilder.html new file mode 100644 index 0000000..26c4a19 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfoBuilder.html @@ -0,0 +1,55 @@ + + + + +UIInfoBuilder xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+17  
+18  import org.opensaml.common.impl.AbstractSAMLObjectBuilder;
+19  
+20  /**
+21   * Builder of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.UIInfo}.
+22   */
+23  public class UIInfoBuilder extends AbstractSAMLObjectBuilder<UIInfo> {
+24  
+25      /**
+26       * Constructor.
+27       */
+28      public UIInfoBuilder() {
+29  
+30      }
+31  
+32      /** {@inheritDoc} */
+33      public UIInfo buildObject() {
+34          return buildObject(UIInfo.MDUI_NS, UIInfo.DEFAULT_ELEMENT_LOCAL_NAME, UIInfo.MDUI_PREFIX);
+35      }
+36  
+37      /** {@inheritDoc} */
+38      public UIInfo buildObject(String namespaceURI, String localName, String namespacePrefix) {
+39          return new UIInfoImpl(namespaceURI, localName, namespacePrefix);
+40      }
+41  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfoImpl.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfoImpl.html new file mode 100644 index 0000000..23aefe7 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfoImpl.html @@ -0,0 +1,115 @@ + + + + +UIInfoImpl xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import java.util.ArrayList;
+20  import java.util.List;
+21  
+22  import org.opensaml.common.impl.AbstractSAMLObject;
+23  import org.opensaml.xml.XMLObject;
+24  import org.opensaml.xml.util.XMLObjectChildrenList;
+25  
+26  /**
+27   * Concrete implementation of {@link edu.internet2.middleware.shibboleth.wayf.idpdisco.UIInfo}.
+28   * @author Rod Widdowson
+29   */
+30  public class UIInfoImpl extends AbstractSAMLObject implements UIInfo {
+31      
+32      /** localized descriptions of the endpoint. */
+33      private final XMLObjectChildrenList<Description> descriptions;
+34      
+35      /** localized displayNames of the endpoint. */
+36      private final XMLObjectChildrenList<DisplayName> displayNames;
+37          
+38      /** localized Logos for the endpoint. */
+39      private final XMLObjectChildrenList<Logo> logos;
+40   
+41      /** localized URLs for the endpoint. */
+42      private final XMLObjectChildrenList<InformationURL> urls;
+43   
+44      /** localized PravcyStatementURLs for the endpoint. */
+45      private final XMLObjectChildrenList<PrivacyStatementURL> privacyStatementURLs;
+46   
+47      /**
+48       * Constructor.
+49       * @param namespaceURI namespaceURI
+50       * @param elementLocalName elementLocalName
+51       * @param namespacePrefix namespacePrefix
+52       */
+53      protected UIInfoImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
+54          super(namespaceURI, elementLocalName, namespacePrefix);
+55          
+56          descriptions = new XMLObjectChildrenList<Description>(this);
+57          displayNames = new XMLObjectChildrenList<DisplayName>(this);
+58          logos = new XMLObjectChildrenList<Logo>(this);
+59          urls = new XMLObjectChildrenList<InformationURL>(this);
+60          privacyStatementURLs = new XMLObjectChildrenList<PrivacyStatementURL>(this);
+61      }
+62  
+63      
+64      /** {@inheritDoc} */
+65      public List<Description> getDescriptions() {
+66          return descriptions;
+67      }
+68  
+69      /** {@inheritDoc} */
+70      public List<DisplayName> getDisplayNames() {
+71          return displayNames;
+72      }
+73  
+74      /** {@inheritDoc} */
+75      public List<InformationURL> getInformationURLs() {
+76          return urls;
+77      }
+78  
+79      /** {@inheritDoc} */
+80      public List<Logo> getLogos() {
+81          return logos;
+82      }
+83  
+84      /** {@inheritDoc} */
+85      public List<PrivacyStatementURL> getPrivacyStatementURLs() {
+86          return privacyStatementURLs;
+87      }
+88  
+89      /** {@inheritDoc} */
+90      public List<XMLObject> getOrderedChildren() {
+91          ArrayList<XMLObject> children = new ArrayList<XMLObject>();
+92          
+93          children.addAll(descriptions);
+94          children.addAll(displayNames);
+95          children.addAll(urls);
+96          children.addAll(logos);
+97          children.addAll(privacyStatementURLs);
+98          return children;
+99      }
+100 
+101 }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfoMarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfoMarshaller.html new file mode 100644 index 0000000..9f44418 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfoMarshaller.html @@ -0,0 +1,41 @@ + + + + +UIInfoMarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  
+18  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+19  
+20  import org.opensaml.common.impl.AbstractSAMLObjectMarshaller;
+21  
+22  /**
+23   * A thread safe Marshaller for {@link @linkedu.internet2.middleware.shibboleth.wayf.idpdisco.UIInfo} objects.
+24   */
+25  public class UIInfoMarshaller extends AbstractSAMLObjectMarshaller {
+26  
+27  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfoUnmarshaller.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfoUnmarshaller.html new file mode 100644 index 0000000..53bc920 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/UIInfoUnmarshaller.html @@ -0,0 +1,61 @@ + + + + +UIInfoUnmarshaller xref + + + +
View Javadoc
+
+1   /*
+2    * Copyright 2010 University Corporation for Advanced Internet Development, Inc.
+3    *
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    *
+8    * http://www.apache.org/licenses/LICENSE-2.0
+9    *
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  
+17  package edu.internet2.middleware.shibboleth.wayf.idpdisco;
+18  
+19  import org.opensaml.common.impl.AbstractSAMLObjectUnmarshaller;
+20  import org.opensaml.xml.XMLObject;
+21  import org.opensaml.xml.io.UnmarshallingException;
+22  
+23  /**
+24   * A thread-safe Unmarshaller for {@link org.opensaml.saml2.metadata.UIInfo} objects.
+25   */
+26  public class UIInfoUnmarshaller extends AbstractSAMLObjectUnmarshaller {
+27  
+28      /** {@inheritDoc} */
+29      protected void processChildElement(XMLObject parentSAMLObject, XMLObject childSAMLObject)
+30              throws UnmarshallingException {
+31          UIInfo info = (UIInfo) parentSAMLObject;
+32  
+33          if (childSAMLObject instanceof Description) {
+34              info.getDescriptions().add((Description) childSAMLObject);
+35          } else if (childSAMLObject instanceof DisplayName) {
+36              info.getDisplayNames().add((DisplayName) childSAMLObject);
+37          } else if (childSAMLObject instanceof InformationURL) {
+38              info.getInformationURLs().add((InformationURL) childSAMLObject);
+39          } else if (childSAMLObject instanceof Logo) {
+40              info.getLogos().add((Logo) childSAMLObject);
+41          } else if (childSAMLObject instanceof PrivacyStatementURL) {
+42              info.getPrivacyStatementURLs().add((PrivacyStatementURL) childSAMLObject);
+43          } else {
+44              super.processChildElement(parentSAMLObject, childSAMLObject);
+45          }
+46      }
+47  }
+
+
+ + diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/package-frame.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/package-frame.html new file mode 100644 index 0000000..b1d6d3d --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/package-frame.html @@ -0,0 +1,195 @@ + + + + + + Shibboleth Discovery Service 1.1.2 Reference Package edu.internet2.middleware.shibboleth.wayf.idpdisco + + + + +

+ edu.internet2.middleware.shibboleth.wayf.idpdisco +

+ +

Classes

+ + + + + \ No newline at end of file diff --git a/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/package-summary.html b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/package-summary.html new file mode 100644 index 0000000..8ff9135 --- /dev/null +++ b/doc/src-xref/edu/internet2/middleware/shibboleth/wayf/idpdisco/package-summary.html @@ -0,0 +1,352 @@ + + + + + + Shibboleth Discovery Service 1.1.2 Reference Package edu.internet2.middleware.shibboleth.wayf.idpdisco + + + +
+ +
+
+ +
+ +

Package edu.internet2.middleware.shibboleth.wayf.idpdisco

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Class Summary
+ Description +
+ DescriptionBuilder +
+ DescriptionImpl +
+ DescriptionMarshaller +
+ DescriptionUnmarshaller +
+ DiscoHints +
+ DiscoHintsBuilder +
+ DiscoHintsImpl +
+ DiscoHintsMarshaller +
+ DiscoHintsUnmarshaller +
+ DisplayName +
+ DisplayNameBuilder +
+ DisplayNameImpl +
+ DisplayNameMarshaller +
+ DisplayNameUnmarshaller +
+ DomainHint +
+ DomainHintBuilder +
+ DomainHintImpl +
+ DomainHintMarshaller +
+ DomainHintUnmarshaller +
+ GeolocationHint +
+ GeolocationHintBuilder +
+ GeolocationHintImpl +
+ GeolocationHintMarshaller +
+ GeolocationHintUnmarshaller +
+ IPHint +
+ IPHintBuilder +
+ IPHintImpl +
+ IPHintMarshaller +
+ IPHintUnmarshaller +
+ InformationURL +
+ InformationURLBuilder +
+ InformationURLImpl +
+ InformationURLMarshaller +
+ InformationURLUnmarshaller +
+ LocalizedName +
+ LocalizedNameImpl +
+ LocalizedNameMarshaller +
+ LocalizedNameUnmarshaller +
+ LocalizedURI +
+ LocalizedURIImpl +
+ LocalizedURIMarshaller +
+ LocalizedURIUnmarshaller +
+ Logo +
+ LogoBuilder +
+ LogoImpl +
+ LogoMarshaller +
+ LogoUnmarshaller +
+ PrivacyStatementURL +
+ PrivacyStatementURLBuilder +
+ PrivacyStatementURLImpl +
+ PrivacyStatementURLMarshaller +
+ PrivacyStatementURLUnmarshaller +
+ UIInfo +
+ UIInfoBuilder +
+ UIInfoImpl +
+ UIInfoMarshaller +
+ UIInfoUnmarshaller +
+ +
+ +
+
+ +
+
+ Copyright © 2006-2010 Internet2. All Rights Reserved. + + \ No newline at end of file -- cgit v1.1