org.sapia.util.xml
Class XmlUtil
java.lang.Object
|
+--org.sapia.util.xml.XmlUtil
- public class XmlUtil
- extends Object
This class contains some utility methods use by the Sapia XML tools.
- Author:
- Jean-Cedric Desrochers
- Copyright:
- Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
- License:
- Read the license.txt file of the jar or visit the
license page at the Sapia OSS web site
|
Method Summary |
static String |
extractPrefix(String aQualifiedName)
Extract the namespace prefix from the qualified element name passed in. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlUtil
public XmlUtil()
extractPrefix
public static String extractPrefix(String aQualifiedName)
- Extract the namespace prefix from the qualified element name passed in.
If the the qualified name passed in is null, it returns null.
- Parameters:
aQualifiedName - The qualified name from which to extract the prefix.
- Returns:
- The extracted prefix or null if the qualified name is null;
Copyright © 2002 Sapia Open Source Software. All Rights Reserved.