Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.util
Class ISO9075
java.lang.Object
  org.alfresco.util.ISO9075

@org.alfresco.api.AlfrescoPublicApi
public class ISO9075
extends Object
Support for the ISO 9075 encoding of XML element names.
Author:
Andy Hind

Method Summary
static String
decode(String toDecode)
static String
encode(String toEncode)
          Encode a string according to ISO 9075
static String
encodeSQL(String toEncode)
          Encodes a SQL identifier Allowed at the start: 'a'..'z' | 'A'..'Z' | '_' Allowed after: 'a'..'z' | 'A'..'Z' | '0'..'9' | '_' | ':' | '$'| '#'
static String
getXPathName(QName qName)
static String
getXPathName(QName qName, NamespacePrefixResolver nspr)
static Object
lowerCaseEncodedSQL(String toLowerCaseEncoded)
static QName
parseXPathName(String str)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail
encodeSQL
public static String encodeSQL(String toEncode)
Encodes a SQL identifier Allowed at the start: 'a'..'z' | 'A'..'Z' | '_' Allowed after: 'a'..'z' | 'A'..'Z' | '0'..'9' | '_' | ':' | '$'| '#'
Parameters:
toEncode - String
Returns:
String

encode
public static String encode(String toEncode)
Encode a string according to ISO 9075
Parameters:
toEncode - String
Returns:
String

decode
public static String decode(String toDecode)

getXPathName
public static String getXPathName(QName qName,
                                  NamespacePrefixResolver nspr)

getXPathName
public static String getXPathName(QName qName)

parseXPathName
public static QName parseXPathName(String str)

lowerCaseEncodedSQL
public static Object lowerCaseEncodedSQL(String toLowerCaseEncoded)
Parameters:
toLowerCaseEncoded - String
Returns:
Object

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.