Class VespaXMLReader

    • Constructor Detail

      • VespaXMLReader

        public VespaXMLReader​(java.lang.String fileName,
                              DocumentTypeManager docTypeManager)
                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • VespaXMLReader

        public VespaXMLReader​(java.io.InputStream stream,
                              DocumentTypeManager docTypeManager)
                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • VespaXMLReader

        public VespaXMLReader​(javax.xml.stream.XMLStreamReader reader,
                              DocumentTypeManager docTypeManager)
    • Method Detail

      • newDeserializeException

        protected java.lang.RuntimeException newDeserializeException​(java.lang.String message)
      • newException

        protected java.lang.RuntimeException newException​(java.lang.Exception e)
      • skipToEnd

        protected void skipToEnd​(java.lang.String tagName)
                          throws javax.xml.stream.XMLStreamException
        Throws:
        javax.xml.stream.XMLStreamException
      • isBase64EncodingAttribute

        public static boolean isBase64EncodingAttribute​(java.lang.String attributeName,
                                                        java.lang.String attributeValue)
      • isBase64EncodedElement

        public static boolean isBase64EncodedElement​(javax.xml.stream.XMLStreamReader reader)