Class ProcInstParser


  • public class ProcInstParser
    extends Object
    ProcInstParser is used to parse pseudo-attributes within Processing Instructions
    • Constructor Detail

      • ProcInstParser

        public ProcInstParser()
    • Method Detail

      • getPseudoAttribute

        public static String getPseudoAttribute​(String content,
                                                String name)
        Get a pseudo-attribute. This is useful only if the processing instruction data part uses pseudo-attribute syntax, which it does not have to. This syntax is as described in the W3C Recommendation "Associating Style Sheets with XML Documents".
        Returns:
        the value of the pseudo-attribute if present, or null if not