org.media.mn8.util
Class ConceptNavPatterns
java.lang.Object
|
+--org.media.mn8.util.ConceptNavPatterns
- public class ConceptNavPatterns
- extends Object
- Version:
- $Revision: 1.1 $ $Date: 2001/10/22 20:25:02 $
- Author:
- Remus Pereni
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConceptNavPatterns
public ConceptNavPatterns()
isAbsolutePath
public static boolean isAbsolutePath(String path)
isRelativePath
public static boolean isRelativePath(String path)
isAttribute
public static boolean isAttribute(String pathItem)
getAttributeName
public static String getAttributeName(String pathItem)
- Removes the attribute identifier from a path item, ex: from @attr
will result attr, and from /@attr will still result attr.
- Parameters:
pathItem
- a string as resulted from getFirstItem
- Returns:
- the name of the attribute or null if it is not an attribute.
getElementName
public static String getElementName(String pathItem)
getFirstItem
public static String getFirstItem(String path)
getRemainingItems
public static String getRemainingItems(String path)
"Copyright © 2000-2002 Internet Multicasting Services, media.org & noLimits Technologies. All Rights Reserved."