Package nu.validator.htmlparser.impl
Class Portability
java.lang.Object
nu.validator.htmlparser.impl.Portability
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
static boolean
literalEqualsString
(String literal, String string) static boolean
localEqualsBuffer
(String local, char[] buf, int offset, int length) static boolean
lowerCaseLiteralEqualsIgnoreAsciiCaseString
(String lowerCaseLiteral, String string) static boolean
lowerCaseLiteralIsPrefixOfIgnoreAsciiCaseString
(String lowerCaseLiteral, String string) static char[]
newCharArrayFromLocal
(String local) static char[]
newCharArrayFromString
(String string) static String
static String
newLocalFromLocal
(String local, Interner interner) static String
newLocalNameFromBuffer
(char[] buf, int offset, int length, Interner interner) Allocates a new local name object.static String
newStringFromBuffer
(char[] buf, int offset, int length) static String
newStringFromLiteral
(String literal) static String
newStringFromString
(String string) static void
releaseString
(String str) static boolean
stringEqualsString
(String one, String other)
-
Constructor Details
-
Portability
public Portability()
-
-
Method Details
-
newLocalNameFromBuffer
Allocates a new local name object. In C++, the refcount must be set up in such a way that callingreleaseLocal
on the return value balances the refcount set by this method. -
newStringFromBuffer
-
newEmptyString
-
newStringFromLiteral
-
newStringFromString
-
newCharArrayFromLocal
-
newCharArrayFromString
-
newLocalFromLocal
-
releaseString
-
localEqualsBuffer
-
lowerCaseLiteralIsPrefixOfIgnoreAsciiCaseString
-
lowerCaseLiteralEqualsIgnoreAsciiCaseString
-
literalEqualsString
-
stringEqualsString
-
delete
-
deleteArray
-