[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: RE: SchemaCopy
From: "Don Stewart" <Don.Stewart () corizon ! com>
Date: 2005-03-17 9:47:44
Message-ID: C5DAE38EC9EA674AA3CE2A7BA4B884AF19EFCB () ORION ! corizon ! com
[Download RAW message or body]
Yeah I had implemented something myself and then found this class. I'll
just revert back to my old code.
Don
________________________________
From: Radu Preotiuc-Pietro [mailto:radup@bea.com]
Sent: 16 March 2005 23:11
To: dev@xmlbeans.apache.org
Subject: RE: SchemaCopy
Never seen this class before... I suspect that the reason that method is
not public is that is pretty particular to what the class is doing, i.e.
writes stuff out to System.out etc. Would it be possible to replicate
the functionality with different code? After all, it just copies an URL
to a different URL, it doesn't add that much value...
Radu
-----Original Message-----
From: Don Stewart [mailto:Don.Stewart@corizon.com]
Sent: Wednesday, March 16, 2005 6:32 AM
To: dev@xmlbeans.apache.org
Subject: SchemaCopy
Hello again,
I know I keep asking bizarre questions but it's due to
integrating XmlBeans directly into other development tools.
In the main() of SchemaCopy it calls two static methods :-
Map thingsToCopy = findAllRelative(source, target);
copyAll(thingsToCopy, true);
The first is public and the second is private. I am trying to do
the same and wanted to use this class and it's methods. Is it therefore
possible to change copyAll to be public?
Many thanks in advance
Don
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=065074709-17032005><FONT face=Arial
color=#0000ff size=2>Yeah I had implemented something myself and then found this
class. I'll just revert back to my old code. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=065074709-17032005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=065074709-17032005><FONT face=Arial
color=#0000ff size=2>Don</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Radu Preotiuc-Pietro
[mailto:radup@bea.com] <BR><B>Sent:</B> 16 March 2005 23:11<BR><B>To:</B>
dev@xmlbeans.apache.org<BR><B>Subject:</B> RE: SchemaCopy<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=667510723-16032005><FONT face=Arial color=#0000ff size=2>Never
seen this class before... I suspect that the reason that method is not public is
that is pretty particular to what the class is doing, i.e. writes stuff out to
System.out etc. Would it be possible to replicate the functionality with
different code? After all, it just copies an URL to a different URL, it doesn't
add that much value...</FONT></SPAN></DIV>
<DIV><SPAN class=667510723-16032005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=667510723-16032005><FONT face=Arial color=#0000ff
size=2>Radu</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Don Stewart
[mailto:Don.Stewart@corizon.com]<BR><B>Sent:</B> Wednesday, March 16, 2005
6:32 AM<BR><B>To:</B> dev@xmlbeans.apache.org<BR><B>Subject:</B>
SchemaCopy<BR><BR></FONT></DIV>
<DIV><SPAN class=244003014-16032005><FONT face=Arial size=2>Hello
again,</FONT></SPAN></DIV>
<DIV><SPAN class=244003014-16032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=244003014-16032005><FONT face=Arial size=2>I know I keep
asking bizarre questions but it's due to integrating XmlBeans directly into
other development tools.</FONT></SPAN></DIV>
<DIV><SPAN class=244003014-16032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=244003014-16032005><FONT face=Arial size=2>In the main() of
SchemaCopy it calls two static methods :-</FONT></SPAN></DIV>
<DIV><SPAN class=244003014-16032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=244003014-16032005>
<P>Map thingsToCopy = findAllRelative(source, target);</P>
<P>copyAll(thingsToCopy, true);</P>
<P> </P>
<P><SPAN class=244003014-16032005><FONT face=Arial size=2>The first is public
and the second is private. I am trying to do the same and wanted to use this
class and it's methods. Is it therefore possible to change copyAll to be
public?</FONT></SPAN></P>
<P><SPAN class=244003014-16032005><FONT face=Arial
size=2></FONT></SPAN> </P>
<P><SPAN class=244003014-16032005><FONT face=Arial size=2>Many thanks in
advance</FONT></SPAN></P>
<P><SPAN class=244003014-16032005><FONT face=Arial
size=2></FONT></SPAN> </P>
<P><SPAN class=244003014-16032005><FONT face=Arial
size=2>Don</FONT></SPAN></P></SPAN></DIV></BLOCKQUOTE></BODY></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic