net.wangs.xmlutil
Class XStringParser

java.lang.Object
  extended bynet.wangs.xmlutil.XStringParser

public class XStringParser
extends java.lang.Object

Author:
Yuqing Wang

Constructor Summary
XStringParser()
           
 
Method Summary
static java.lang.String getPathToken()
           
static java.util.Vector parseXString(java.lang.String path)
          Parse String into Vector.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XStringParser

public XStringParser()
Method Detail

parseXString

public static java.util.Vector parseXString(java.lang.String path)
Parse String into Vector. Token is _pathToken= "/"
 For example, "/AAA/BBB/CCC" is parsed into 
       AAA
       BBB
       CCC
 The token at the beginning of string is not requied but is recommended.
 

Returns:
Vector of XML tag name

getPathToken

public static java.lang.String getPathToken()
Returns:
String "/"


Copyright © 2005 . All Rights Reserved.