|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecore.xml.type.util.XMLTypeUtil
This class contains convenient static methods for working with XML-related information.
Field Summary | |
static int |
EQUALS
|
static int |
GREATER_THAN
|
static int |
INDETERMINATE
|
static int |
LESS_THAN
|
Constructor Summary | |
XMLTypeUtil()
|
Method Summary | |
static int |
compareCalendar(Object calendar1,
Object calendar2)
|
static int |
compareDuration(Object duration1,
Object duration2)
|
static EValidator.PatternMatcher |
createPatternMatcher(String pattern)
|
static Object |
createQName(String namespaceUri,
String localPart,
String prefix)
Creates a new QName object with the specified values |
static String |
getQNameLocalPart(Object qname)
Returns the localPart of a QName. |
static String |
getQNameNamespaceURI(Object qname)
Returns the namespaceURI of a QName. |
static String |
getQNamePrefix(Object qname)
Returns the prefix of a QName. |
static boolean |
isSpace(char value)
|
static String |
normalize(String value,
boolean collapse)
|
static void |
setQNameValues(Object qname,
String namespaceUri,
String localPart,
String prefix)
Sets the QName object values to the specified onces |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int EQUALS
public static final int LESS_THAN
public static final int GREATER_THAN
public static final int INDETERMINATE
Constructor Detail |
public XMLTypeUtil()
Method Detail |
public static int compareCalendar(Object calendar1, Object calendar2)
public static int compareDuration(Object duration1, Object duration2)
public static boolean isSpace(char value)
public static String normalize(String value, boolean collapse)
public static EValidator.PatternMatcher createPatternMatcher(String pattern)
public static Object createQName(String namespaceUri, String localPart, String prefix)
namespaceUri
- namespace uri value or nulllocalPart
- localPart (not null)prefix
- prefix value or null
public static void setQNameValues(Object qname, String namespaceUri, String localPart, String prefix)
namespaceUri
- namespace uri value or nulllocalPart
- localPart (not null)prefix
- prefix value or nullpublic static String getQNameNamespaceURI(Object qname)
public static String getQNameLocalPart(Object qname)
public static String getQNamePrefix(Object qname)
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |