/** * Returns true if the specified character is invalid. * * @param c The character to check. */ public static boolean isInvalid(int c) { return !isValid(c); } // isInvalid(int):boolean
/** * Constructs an XMLString structure preset with the specified * values. * * @param ch The character array. * @param offset The offset into the character array. * @param length The length of characters from the offset. */ public XMLString(char[] ch, int offset, int length) { setValues(ch, offset, length); } // <init>(char[],int,int)
/** Constructs a string buffer from a char. */ public XMLStringBuffer(char c) { this(1); append(c); } // <init>(char)
/** * Constructor */ public XMLEncodingDetector() { fSymbolTable = new SymbolTable(); fCurrentEntity = this; }
/** * Sets the path prefix for .dtd resources */ public static void setDtdResourcePrefix(String prefix) { ParserUtils.setDtdResourcePrefix(prefix); } // END PWC 6386258
/** * Returns true if the specified character is invalid. * * @param c The character to check. */ public static boolean isInvalid(int c) { return !isValid(c); } // isInvalid(int):boolean
/** * Initializes the contents of the XMLString structure with copies * of the given string structure. * <p> * <strong>Note:</strong> This does not copy the character array; * only the reference to the array is copied. * * @param s */ public void setValues(XMLString s) { setValues(s.ch, s.offset, s.length); } // setValues(XMLString)
/** Constructs a string buffer from a char. */ public XMLStringBuffer(char c) { this(1); append(c); } // <init>(char)
/** * Constructor */ public XMLEncodingDetector() { fSymbolTable = new SymbolTable(); fCurrentEntity = this; }
/** * Returns true if the specified character is invalid. * * @param c The character to check. */ public static boolean isInvalid(int c) { return !isValid(c); } // isInvalid(int):boolean
/** * Constructs an XMLString structure preset with the specified * values. * * @param ch The character array. * @param offset The offset into the character array. * @param length The length of characters from the offset. */ public XMLString(char[] ch, int offset, int length) { setValues(ch, offset, length); } // <init>(char[],int,int)
/** Constructs a string buffer from the specified XMLString. */ public XMLStringBuffer(XMLString s) { this(s.length); append(s); } // <init>(XMLString)
/** * Constructor */ public XMLEncodingDetector() { fSymbolTable = new SymbolTable(); fCurrentEntity = this; }
/** * Returns true if the specified character is invalid. * * @param c The character to check. */ public static boolean isInvalid(int c) { return !isValid(c); } // isInvalid(int):boolean
/** * Initializes the contents of the XMLString structure with copies * of the given string structure. * <p> * <strong>Note:</strong> This does not copy the character array; * only the reference to the array is copied. * * @param s */ public void setValues(XMLString s) { setValues(s.ch, s.offset, s.length); } // setValues(XMLString)
/** Constructs a string buffer from the specified XMLString. */ public XMLStringBuffer(XMLString s) { this(s.length); append(s); } // <init>(XMLString)
/** * Returns true if the specified character is invalid. * * @param c The character to check. */ public static boolean isInvalid(int c) { return !isValid(c); } // isInvalid(int):boolean
/** * Initializes the contents of the XMLString structure with copies * of the given string structure. * <p> * <strong>Note:</strong> This does not copy the character array; * only the reference to the array is copied. * * @param s */ public void setValues(XMLString s) { setValues(s.ch, s.offset, s.length); } // setValues(XMLString)
/** Constructs a string buffer from the specified character array. */ public XMLStringBuffer(char[] ch, int offset, int length) { this(length); append(ch, offset, length); } // <init>(char[],int,int)