Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.tm4j.net.test
Class InvalidConstructorLocatorImpl  view InvalidConstructorLocatorImpl download InvalidConstructorLocatorImpl.java

java.lang.Object
  extended byorg.tm4j.net.test.InvalidConstructorLocatorImpl
All Implemented Interfaces:
org.tm4j.net.Locator, java.io.Serializable

public class InvalidConstructorLocatorImpl
extends java.lang.Object
implements org.tm4j.net.Locator, java.io.Serializable


Constructor Summary
InvalidConstructorLocatorImpl()
           
 
Method Summary
 org.tm4j.net.Locator copy()
          Returns a copy of this object.
 boolean equals(org.tm4j.net.Locator loc)
          Determines the equality of this Locator to loc:
 java.lang.String getAddress()
          Gets the address associated with the locator
 org.tm4j.net.LocatorFactory getFactory()
          Returns the locator factory associated with this locator.
 java.lang.String getNotation()
          Gets the string defining the notation type of this locator
 void initialise(java.lang.String address, java.lang.String notation)
          Initializes the locator with the specified notation and address.
 org.tm4j.net.Locator resolveRelative(org.tm4j.net.Locator rel)
          Returns a new Locator whose address is the result of resolving the specified Locator relative to this Locator.
 org.tm4j.net.Locator resolveRelative(java.lang.String rel)
          Returns a new Locator whose address is the result of resolvng the specified relative address string relative to this Locator.
 void setFactory(org.tm4j.net.LocatorFactory factory)
          Associates the locator with the given factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.tm4j.net.Locator
hashCode
 

Constructor Detail

InvalidConstructorLocatorImpl

public InvalidConstructorLocatorImpl()
Method Detail

resolveRelative

public org.tm4j.net.Locator resolveRelative(org.tm4j.net.Locator rel)
                                     throws org.tm4j.net.LocatorResolutionException
Description copied from interface: org.tm4j.net.Locator
Returns a new Locator whose address is the result of resolving the specified Locator relative to this Locator.

Specified by:
resolveRelative in interface org.tm4j.net.Locator

resolveRelative

public org.tm4j.net.Locator resolveRelative(java.lang.String rel)
                                     throws org.tm4j.net.LocatorResolutionException
Description copied from interface: org.tm4j.net.Locator
Returns a new Locator whose address is the result of resolvng the specified relative address string relative to this Locator.

Specified by:
resolveRelative in interface org.tm4j.net.Locator

equals

public boolean equals(org.tm4j.net.Locator loc)
Description copied from interface: org.tm4j.net.Locator
Determines the equality of this Locator to loc:

Specified by:
equals in interface org.tm4j.net.Locator

copy

public org.tm4j.net.Locator copy()
                          throws org.tm4j.net.LocatorFactoryException
Description copied from interface: org.tm4j.net.Locator
Returns a copy of this object.

Specified by:
copy in interface org.tm4j.net.Locator

getAddress

public java.lang.String getAddress()
Description copied from interface: org.tm4j.net.Locator
Gets the address associated with the locator

Specified by:
getAddress in interface org.tm4j.net.Locator

getNotation

public java.lang.String getNotation()
Description copied from interface: org.tm4j.net.Locator
Gets the string defining the notation type of this locator

Specified by:
getNotation in interface org.tm4j.net.Locator

getFactory

public org.tm4j.net.LocatorFactory getFactory()
Description copied from interface: org.tm4j.net.Locator
Returns the locator factory associated with this locator.

Specified by:
getFactory in interface org.tm4j.net.Locator

setFactory

public void setFactory(org.tm4j.net.LocatorFactory factory)
Description copied from interface: org.tm4j.net.Locator
Associates the locator with the given factory. Applications should ensure that this method is not invoked directly, except by factory classes implementing org.tm4j.net.LocatorFactory.

Specified by:
setFactory in interface org.tm4j.net.Locator

initialise

public void initialise(java.lang.String address,
                       java.lang.String notation)
Description copied from interface: org.tm4j.net.Locator
Initializes the locator with the specified notation and address. This method is commonly called by constructors.

Specified by:
initialise in interface org.tm4j.net.Locator