be.hikage.xdt4j.locator
Class LocatorFactory

java.lang.Object
  extended by be.hikage.xdt4j.locator.LocatorFactory

public abstract class LocatorFactory
extends Object


Constructor Summary
LocatorFactory()
           
 
Method Summary
static Locator createLocator(org.dom4j.Element element)
          Returns an instance corresponding to the value of the attribute "Locator" of the element parameter, or null if the attribute is empty or invalid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocatorFactory

public LocatorFactory()
Method Detail

createLocator

public static final Locator createLocator(org.dom4j.Element element)
Returns an instance corresponding to the value of the attribute "Locator" of the element parameter, or null if the attribute is empty or invalid. In case of the attribute value is not in a valid format, an XdtException will be thrown

Parameters:
element - The Element for which a Locator must be created
Returns:
tine Locator instance, or null
Throws:
XdtException - If the attribute is not in a valid format


Copyright © 2012. All Rights Reserved.