Examples of jibx_getDocumentName()


Examples of org.jibx.runtime.ITrackSource.jibx_getDocumentName()

      throw new IllegalStateException
        ("factory, pre-set, or post-set method not called");
    }
        ITrackSource track = (ITrackSource)this;
        System.out.println("Verified " + this.getClass().getName() +
            " from \"" + track.jibx_getDocumentName() + "\" (" +
            track.jibx_getLineNumber() + ":" + track.jibx_getColumnNumber() +
            ")");
  }
}
View Full Code Here

Examples of org.jibx.runtime.ITrackSource.jibx_getDocumentName()

            buff.append(' ');
            buff.append(name);
        }
        if (comp instanceof ITrackSource) {
            ITrackSource track = (ITrackSource)comp;
            String path = track.jibx_getDocumentName();
            if (path != null) {
                buff.append(" (");
                int start = path.lastIndexOf(File.separatorChar) + 1;
                int end = path.length();
                if (path.endsWith(".xsd")) {
View Full Code Here

Examples of org.jibx.runtime.ITrackSource.jibx_getDocumentName()

            segment.setLength(0);
            node = parent;
        }
        if (comp instanceof ITrackSource) {
            ITrackSource track = (ITrackSource)comp;
            String path = track.jibx_getDocumentName();
            if (path != null) {
                buff.append(" (");
                int start = path.lastIndexOf(File.separatorChar) + 1;
                int end = path.length();
                if (path.endsWith(".xsd")) {
View Full Code Here

Examples of org.jibx.runtime.ITrackSource.jibx_getDocumentName()

            if (line >= 0) {
                buff.append(" (line ");
                buff.append(line);
                buff.append(", column ");
                buff.append(track.jibx_getColumnNumber());
                String dname = track.jibx_getDocumentName();
                if (dname == null) {
                    buff.append(')');
                } else {
                    buff.append(" in '");
                    buff.append(dname);
View Full Code Here

Examples of org.jibx.runtime.ITrackSource.jibx_getDocumentName()

     * @return The location, or null.
     */
    public String getLocation() {
        if (this instanceof ITrackSource) {
            ITrackSource source = (ITrackSource) this;
            return source.jibx_getDocumentName();
        }
        return null;
    }

    /**
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.