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

## com.fasterxml.aalto.util
Class XmlNames

    java.lang.Object
      com.fasterxml.aalto.util.XmlNames

    public final class XmlNames

extends Object

Simple utility class used for checking validity of xml names.

Constructor Summary
`XmlNames()`

Method Summary
`static int` | `findIllegalNameChar(String name, boolean xml11)` Method that can be used to verify whether given String is a valid xml name or not.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### XmlNames

    public XmlNames()

Method Detail

### findIllegalNameChar

    public static int findIllegalNameChar(String name,
                                          boolean xml11)

  Method that can be used to verify whether given String is a valid xml name or not.

  Returns:
    Index of the first character in given String that is not a valid xml name character, if any; -1 if string is a valid xml name

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

Copyright © 2011 Fasterxml.com. All Rights Reserved.