public static class Handlebars.SafeString
extends java.lang.Object
implements java.lang.CharSequence
Handlebars.SafeString
tell Handlebars
that the content should not be
escaped as HTML.Modifier and Type | Field and Description |
---|---|
java.lang.CharSequence |
content
The content.
|
Constructor and Description |
---|
SafeString(java.lang.CharSequence content)
Creates a new
Handlebars.SafeString . |
Modifier and Type | Method and Description |
---|---|
char |
charAt(int index) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
int |
length() |
java.lang.CharSequence |
subSequence(int start,
int end) |
java.lang.String |
toString() |
public SafeString(java.lang.CharSequence content)
Handlebars.SafeString
.content
- The string content.public int length()
length
in interface java.lang.CharSequence
public char charAt(int index)
charAt
in interface java.lang.CharSequence
public java.lang.CharSequence subSequence(int start, int end)
subSequence
in interface java.lang.CharSequence
public java.lang.String toString()
toString
in interface java.lang.CharSequence
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved