Package com._1c.g5.v8.dt.rights.resource
Class RightsResourceEscape
java.lang.Object
com._1c.g5.modeling.xml.serializer.Escape
com._1c.g5.modeling.xtext.serializer.CustomEscape
com._1c.g5.v8.dt.rights.resource.RightsResourceEscape
Custome characters esceper for Rights resource
Main feature is do not escaping quote character in text of elements.
Also not supported CDATA tags and always escape ">" character.
Also "\r" will be replaced to empty string when converting text, see convertText(String)
-
Field Summary
Fields inherited from class com._1c.g5.modeling.xtext.serializer.CustomEscape
EMPTY
Fields inherited from class com._1c.g5.modeling.xml.serializer.Escape
ACK, allowControlCharacters, AMP, BEL, BS, CAN, CONTROL_CHARACTERS, CR, DC1, DC2, DC3, DC4, DLE, EM, ENQ, EOT, ESC, ETB, ETX, FF, FS, GREATER, GS, LESS, LF, LINE_FEED, lineDelimiter, mappableLimit, MAX_UTF_MAPPABLE_CODEPOINT, NAK, NUL, QUOTE, RS, SI, SO, SOH, STX, SUB, SYN, TAB, US, useCDATA, value, VT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertText
(String input) Copy from parent class with changing logic for escaping symbol "\r".Methods inherited from class com._1c.g5.modeling.xml.serializer.Escape
convert, convertLines, grow, replace, replaceChars, setAllowControlCharacters, setLineDelimiter, setMappingLimit, setUseCDATA
-
Constructor Details
-
RightsResourceEscape
public RightsResourceEscape()
-
-
Method Details
-
convertText
Description copied from class:CustomEscape
Copy from parent class with changing logic for escaping symbol "\r". "\r" will be replaced to emty string- Overrides:
convertText
in classCustomEscape
-