Java™ Platform
Standard Ed. 8
javax.xml.bind.helpers

Class ValidationEventLocatorImpl

    • Constructor Detail

      • ValidationEventLocatorImpl

        public ValidationEventLocatorImpl()
        Creates an object with all fields unavailable.
      • ValidationEventLocatorImpl

        public ValidationEventLocatorImpl(Locator loc)
        Constructs an object from an org.xml.sax.Locator. The object's ColumnNumber, LineNumber, and URL become available from the values returned by the locator's getColumnNumber(), getLineNumber(), and getSystemId() methods respectively. Node, Object, and Offset are not available.
        Parameters:
        loc - the SAX Locator object that will be used to populate this event locator.
        Throws:
        IllegalArgumentException - if the Locator is null
      • ValidationEventLocatorImpl

        public ValidationEventLocatorImpl(SAXParseException e)
        Constructs an object from the location information of a SAXParseException. The object's ColumnNumber, LineNumber, and URL become available from the values returned by the locator's getColumnNumber(), getLineNumber(), and getSystemId() methods respectively. Node, Object, and Offset are not available.
        Parameters:
        e - the SAXParseException object that will be used to populate this event locator.
        Throws:
        IllegalArgumentException - if the SAXParseException is null
      • ValidationEventLocatorImpl

        public ValidationEventLocatorImpl(Node _node)
        Constructs an object that points to a DOM Node. The object's Node becomes available. ColumnNumber, LineNumber, Object, Offset, and URL are not available.
        Parameters:
        _node - the DOM Node object that will be used to populate this event locator.
        Throws:
        IllegalArgumentException - if the Node is null
      • ValidationEventLocatorImpl

        public ValidationEventLocatorImpl(Object _object)
        Constructs an object that points to a JAXB content object. The object's Object becomes available. ColumnNumber, LineNumber, Node, Offset, and URL are not available.
        Parameters:
        _object - the Object that will be used to populate this event locator.
        Throws:
        IllegalArgumentException - if the Object is null
Java™ Platform
Standard Ed. 8

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部