de.uplanet.lucy.server.auxiliaries
Class QNameFactory

java.lang.Object
  extended by de.uplanet.lucy.server.auxiliaries.QNameFactory

@VelocityCallable(value="singleton")
public final class QNameFactory
extends java.lang.Object

Version:
$Revision: 41863 $

Constructor Summary
QNameFactory()
          Standard constructor.
 
Method Summary
 javax.xml.namespace.QName newQName(java.lang.String p_strSerializedQName)
          Create a new xsd:QName object.
 javax.xml.namespace.QName newQName(java.lang.String p_strNamespaceUri, java.lang.String p_strLocalPart)
          Create a new xsd:QName object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QNameFactory

public QNameFactory()
Standard constructor.

Method Detail

newQName

public javax.xml.namespace.QName newQName(java.lang.String p_strNamespaceUri,
                                          java.lang.String p_strLocalPart)
Create a new xsd:QName object.

Parameters:
p_strNamespaceUri - The namespace URI of the QName.
p_strLocalPart - The local part of the QName.
Returns:
The newly created QName.
Throws:
java.lang.IllegalArgumentException - - If the p_strLocalPart is null.

newQName

public javax.xml.namespace.QName newQName(java.lang.String p_strSerializedQName)
Create a new xsd:QName object.

Parameters:
p_strSerializedQName - The QName in it's Java serialized form {URI}NCNAME.
Returns:
The newly created QName.
Throws:
java.lang.IllegalArgumentException - - If p_strSerializedQName is null.


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.