org.media.mn8.util
Class ConceptNavPatterns

java.lang.Object
  |
  +--org.media.mn8.util.ConceptNavPatterns

public class ConceptNavPatterns
extends java.lang.Object

Version:
$Revision: 1.1 $ $Date: 2001/10/22 20:25:02 $
Author:
Remus Pereni

Constructor Summary
ConceptNavPatterns()
           
 
Method Summary
static java.lang.String getAttributeName(java.lang.String pathItem)
          Removes the attribute identifier from a path item, ex: from @attr will result attr, and from /@attr will still result attr.
static java.lang.String getElementName(java.lang.String pathItem)
           
static java.lang.String getFirstItem(java.lang.String path)
           
static java.lang.String getRemainingItems(java.lang.String path)
           
static boolean isAbsolutePath(java.lang.String path)
           
static boolean isAttribute(java.lang.String pathItem)
           
static boolean isRelativePath(java.lang.String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConceptNavPatterns

public ConceptNavPatterns()
Method Detail

isAbsolutePath

public static boolean isAbsolutePath(java.lang.String path)

isRelativePath

public static boolean isRelativePath(java.lang.String path)

isAttribute

public static boolean isAttribute(java.lang.String pathItem)

getAttributeName

public static java.lang.String getAttributeName(java.lang.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 java.lang.String getElementName(java.lang.String pathItem)

getFirstItem

public static java.lang.String getFirstItem(java.lang.String path)

getRemainingItems

public static java.lang.String getRemainingItems(java.lang.String path)


"Copyright © 2001 Internet Multicasting Services & media.org. All Rights Reserved."