FileDocCategorySizeDatePackage
Address.javaAPI DocExample3753Tue May 29 16:56:28 BST 2007com.sun.xml.ws.addressing.impl.policy

Address

public class Address extends com.sun.xml.ws.policy.PolicyAssertion implements com.sun.xml.ws.addressing.policy.Address
author
Abhijit Das

Fields Summary
private boolean
populated
private URI
address
Constructors Summary
public Address()
Creates a new instance of Address

    
               
      
    
public Address(com.sun.xml.ws.policy.sourcemodel.AssertionData name, Collection nestedAssertions, com.sun.xml.ws.policy.AssertionSet nestedAlternative)

        super(name,nestedAssertions,nestedAlternative);
    
Methods Summary
public java.lang.StringgetNamespaceURI()

        throw new UnsupportedOperationException();
    
public java.net.URIgetURI()

        populate();
        return address;
    
private voidpopulate()

        if ( !populated ) {
            try {
                if(this.getValue() != null){
                    this.address = new URI(this.getValue().trim());
                }
                populated = true;
            } catch (URISyntaxException ex) {
                if(logger.getLevel() == Level.SEVERE){
                    logger.log(Level.SEVERE,"SP0100.invalid.epr-address",ex);
                }
            }
        }